Expose number parser
This commit is contained in:
parent
bdd5d0e583
commit
dd208ffeeb
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user