Skip to content

Commit 7ecf138

Browse files
committed
make interpret_hexadecimal_escape_digits private
1 parent 5929ce4 commit 7ecf138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reimplementation/tokenisation/processing/escape_processing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ fn interpret_unicode_escape_digits(digits: &Charseq) -> Result<u32, &'static str
220220
/// Processes the HEXADECIMAL_DIGITs from a _hexadecimal escape_, returning the represented byte.
221221
///
222222
/// An error return indicates that the grammar accepted something we didn't expect.
223-
pub fn interpret_hexadecimal_escape_digits(digits: &Charseq) -> Result<u8, &'static str> {
223+
fn interpret_hexadecimal_escape_digits(digits: &Charseq) -> Result<u8, &'static str> {
224224
if digits.len() != 2 {
225225
return Err("hexadecimal escape: wrong number of digits");
226226
}

0 commit comments

Comments
 (0)