From dd208ffeeb3a6deeb241bfb2a022f8a078866362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Mon, 4 May 2020 20:29:07 +0200 Subject: [PATCH] Expose number parser --- src/parse/tokens.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/tokens.rs b/src/parse/tokens.rs index bcb2cd6..612be01 100644 --- a/src/parse/tokens.rs +++ b/src/parse/tokens.rs @@ -192,7 +192,7 @@ fn number_string(input: &str) -> Option<(&str, &str)> } } -pub(crate) fn number(input: &str) -> Result, crate::parse::Error> +pub fn number(input: &str) -> Result, crate::parse::Error> { let (number_string, remaining_input) = match number_string(input) {