Skip to content

Commit 70f4a9c

Browse files
committed
Change order of variants, group text variants together
1 parent 621da10 commit 70f4a9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/events/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,10 +963,10 @@ pub enum Event<'a> {
963963
Empty(BytesStart<'a>),
964964
/// Escaped character data between tags.
965965
Text(BytesText<'a>),
966-
/// Comment `<!-- ... -->`.
967-
Comment(BytesText<'a>),
968966
/// Unescaped character data stored in `<![CDATA[...]]>`.
969967
CData(BytesCData<'a>),
968+
/// Comment `<!-- ... -->`.
969+
Comment(BytesText<'a>),
970970
/// XML declaration `<?xml ...?>`.
971971
Decl(BytesDecl<'a>),
972972
/// Processing instruction `<?...?>`.

0 commit comments

Comments
 (0)