summaryrefslogtreecommitdiff
path: root/src/parsers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parsers.rs')
-rw-r--r--src/parsers.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/parsers.rs b/src/parsers.rs
index 7e8ecc9..8b13789 100644
--- a/src/parsers.rs
+++ b/src/parsers.rs
@@ -1,18 +1 @@
-use nom::{character::complete::digit1, combinator::map_res, IResult};
-use std::str::FromStr;
-pub fn u64(input: &str) -> IResult<&str, u64> {
- map_res(digit1, u64::from_str)(input)
-}
-
-pub fn i64(input: &str) -> IResult<&str, i64> {
- map_res(digit1, i64::from_str)(input)
-}
-
-pub fn u32(input: &str) -> IResult<&str, u32> {
- map_res(digit1, u32::from_str)(input)
-}
-
-pub fn i32(input: &str) -> IResult<&str, i32> {
- map_res(digit1, i32::from_str)(input)
-}