Address review comments.

This commit is contained in:
Nicholas Nethercote 2022-09-28 10:28:36 +10:00
parent 7f7e2165b1
commit d0a26acb2a
4 changed files with 13 additions and 11 deletions

View file

@ -23,15 +23,17 @@
// We want to be able to build this crate with a stable compiler, so no
// `#![feature]` attributes should be added.
pub mod cursor;
mod cursor;
pub mod unescape;
#[cfg(test)]
mod tests;
pub use crate::cursor::Cursor;
use self::LiteralKind::*;
use self::TokenKind::*;
use crate::cursor::{Cursor, EOF_CHAR};
use crate::cursor::EOF_CHAR;
use std::convert::TryFrom;
/// Parsed token.