Scanner - Style clean-up

This commit is contained in:
Emmanuel BENOîT 2023-01-05 06:43:54 +01:00
parent c5f099340b
commit c1a61b992d

View file

@ -145,7 +145,7 @@ impl Scanner {
// Identifiers // Identifiers
ch if ch.is_ascii_alphabetic() => self.identifier(), ch if ch.is_ascii_alphabetic() => self.identifier(),
// Anything else is an error // Anything else is an error
_ => return self.error("unexpected character".to_owned()), _ => self.error("unexpected character".to_owned()),
} }
} }