Expose number parser

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

View File

@ -192,7 +192,7 @@ fn number_string(input: &str) -> Option<(&str, &str)>
}
}
pub(crate) fn number(input: &str) -> Result<Option<(usize, &str)>, crate::parse::Error>
pub fn number(input: &str) -> Result<Option<(usize, &str)>, crate::parse::Error>
{
let (number_string, remaining_input) = match number_string(input)
{