Expose identifier parser

This commit is contained in:
Patrick Lühne 2020-05-04 18:07:39 +02:00
parent 82e98e5ec0
commit bdd5d0e583
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ fn is_identifier_body_character(character: char) -> bool
} }
} }
pub(crate) fn identifier(input: &str) -> Option<(&str, &str)> pub fn identifier(input: &str) -> Option<(&str, &str)>
{ {
let mut characters = input.char_indices(); let mut characters = input.char_indices();