Merge pull request #1051 from AleoHQ/fix-typo

Fix a typo in comment.
This commit is contained in:
Alessandro Coglio 2021-06-22 09:09:05 -07:00 committed by GitHub
commit 470e2dc99d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ fn eat_identifier(input_tendril: &StrTendril) -> Option<StrTendril> {
impl Token { impl Token {
/// ///
/// Returns a `char` if an character can be eaten, otherwise returns [`None`]. /// Returns a `char` if a character can be eaten, otherwise returns [`None`].
/// ///
fn eat_char(input_tendril: StrTendril, escaped: bool, hex: bool, unicode: bool) -> Option<Char> { fn eat_char(input_tendril: StrTendril, escaped: bool, hex: bool, unicode: bool) -> Option<Char> {
if input_tendril.is_empty() { if input_tendril.is_empty() {