Skip to content

Commit

Permalink
Remove ElmName
Browse files Browse the repository at this point in the history
Apparently this is unused, but my local check/clippy doesn't complain.
Equally though, it doesn't complain if I remove it, so goodbye I guess
  • Loading branch information
alpha-tango-kilo committed Jul 13, 2024
1 parent 8cc1f87 commit 92e5bbb
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/stream/xml_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,6 @@ use crate::{
Date, Integer,
};

#[derive(Clone, PartialEq, Eq)]
struct ElmName(Box<[u8]>);

impl From<&[u8]> for ElmName {
fn from(bytes: &[u8]) -> Self {
ElmName(Box::from(bytes))
}
}

impl AsRef<[u8]> for ElmName {
fn as_ref(&self) -> &[u8] {
&self.0
}
}

pub struct XmlReader<R: BufRead> {
buffer: Vec<u8>,
started: bool,
Expand Down

0 comments on commit 92e5bbb

Please sign in to comment.