Condense StringReader's API to a single function

This commit is contained in:
Aleksey Kladov
2020-09-03 15:37:03 +02:00
parent 08deb863bd
commit 4231fbc0a8
4 changed files with 25 additions and 33 deletions

View File

@@ -332,7 +332,7 @@ const ASCII_ARRAY: &[(char, &str, Option<token::TokenKind>)] = &[
('"', "Quotation Mark", None),
];
crate fn check_for_substitution<'a>(
pub(super) fn check_for_substitution<'a>(
reader: &StringReader<'a>,
pos: BytePos,
ch: char,