do not treat \0 as EOF
may appear in input
This commit is contained in:
parent
3425ad4189
commit
ca7f3c7e89
3 changed files with 42 additions and 28 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue