aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-06-25 23:25:41 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2024-06-25 23:25:41 +0100
commit33e0d1ca8b930d67329d475d1eb1009a52c57bce (patch)
tree2fff37b0afd07854431353109eab06354ac6f0e6 /src/parser.rs
parent1fb575b5ca646581d715c169b24515b51c724b70 (diff)
downloadpeanuts-33e0d1ca8b930d67329d475d1eb1009a52c57bce.tar.gz
peanuts-33e0d1ca8b930d67329d475d1eb1009a52c57bce.tar.bz2
peanuts-33e0d1ca8b930d67329d475d1eb1009a52c57bce.zip
remove unused imports
Diffstat (limited to '')
-rw-r--r--src/parser.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 0e2bb90..266becc 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -1,13 +1,13 @@
use std::char;
use nom::{
- branch::{alt, permutation},
- bytes::streaming::{is_a, is_not, tag, tag_no_case, take, take_till, take_until, take_while},
+ branch::alt,
+ bytes::streaming::{is_a, tag, take, take_while},
character::{
complete::one_of,
- streaming::{alpha1, char, digit1, none_of, satisfy},
+ streaming::{char, none_of, satisfy},
},
- combinator::{cond, map, map_parser, map_res, not, opt, peek, recognize, value, verify},
+ combinator::{map, not, opt, peek, recognize, value},
error::{Error, ErrorKind},
multi::{many0, many1, many_till},
sequence::{delimited, pair, preceded, separated_pair, terminated, tuple},