diff options
-rw-r--r-- | src/token.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/token.rs b/src/token.rs index 2afef8c..d198fde 100644 --- a/src/token.rs +++ b/src/token.rs @@ -27,14 +27,14 @@ pub enum Token { /// An HTML start tag, such as `<p>` or `<a>`. #[derive(Clone, Debug, Eq, PartialEq)] pub struct StartTag { - /// Whether this tag is self-closing. If it is self-closing, no following [`EndTag`] should be - /// expected. - pub self_closing: bool, - /// The tag name. /// Uppercase ASCII characters (A-Z) have been converted to lowercase. pub name: String, + /// Whether this tag is self-closing. If it is self-closing, no following [`EndTag`] should be + /// expected. + pub self_closing: bool, + /// A mapping for any HTML attributes this start tag may have. /// /// Duplicate attributes are ignored after the first one as per WHATWG spec. |