do not treat \0 as EOF

may appear in input
This commit is contained in:
Noah Hellman 2023-02-01 19:51:08 +01:00
parent 3425ad4189
commit ca7f3c7e89
3 changed files with 42 additions and 28 deletions

View file

@ -16,8 +16,6 @@ pub use attr::Attributes;
type CowStr<'s> = std::borrow::Cow<'s, str>;
const EOF: char = '\0';
#[derive(Debug, PartialEq, Eq)]
pub enum Event<'s> {
/// Start of a container.