Skip to content

Commit

Permalink
Fix incorrect name of event in error variant documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Mar 13, 2023
1 parent 1ec074d commit 42e2350
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ pub enum Error {
UnexpectedBang(u8),
/// Text not found, expected `Event::Text`
TextNotFound,
/// `Event::XmlDecl` must start with *version* attribute
/// `Event::BytesDecl` must start with *version* attribute. Contains the attribute
/// that was found or `None` if an xml declaration doesn't contain attributes.
XmlDeclWithoutVersion(Option<String>),
/// Attribute parsing error
InvalidAttr(AttrError),
Expand Down

0 comments on commit 42e2350

Please sign in to comment.