diff --git a/onihime/src/lexer/mod.rs b/onihime/src/lexer/mod.rs
index a4b814d..d924d3d 100644
--- a/onihime/src/lexer/mod.rs
+++ b/onihime/src/lexer/mod.rs
@@ -42,23 +42,9 @@ impl<'a> Lexer<'a> {
}
}
- /// Return a byte slice containing the contents of the current [Token].
- #[inline]
- #[must_use]
- pub fn slice(&self) -> &'a [u8] {
- &self.bytes[self.token_start..self.cursor]
- }
-
- /// Return the span of the current [Token].
- #[inline]
- #[must_use]
- pub fn span(&self) -> Span {
- Span::new(self.token_start, self.cursor)
- }
-
/// Return the next [Token] in the input stream.
#[inline]
- pub fn next_token(&mut self) -> Result