diff --git a/src/parser/babel_call.rs b/src/parser/babel_call.rs index 629113c..a40f076 100644 --- a/src/parser/babel_call.rs +++ b/src/parser/babel_call.rs @@ -9,13 +9,11 @@ use nom::combinator::opt; use nom::combinator::peek; use nom::combinator::recognize; use nom::combinator::verify; -use nom::multi::many0; use nom::multi::many_till; use nom::sequence::tuple; use nom::InputTake; use super::affiliated_keyword::parse_affiliated_keywords; -use super::keyword::affiliated_keyword; use super::org_source::BracketDepth; use super::util::maybe_consume_trailing_whitespace_if_not_exiting; use super::util::start_of_line; diff --git a/src/parser/drawer.rs b/src/parser/drawer.rs index 0123e13..8c6f27c 100644 --- a/src/parser/drawer.rs +++ b/src/parser/drawer.rs @@ -7,12 +7,10 @@ use nom::character::complete::space0; use nom::combinator::eof; use nom::combinator::not; use nom::combinator::recognize; -use nom::multi::many0; use nom::multi::many_till; use nom::sequence::tuple; use super::affiliated_keyword::parse_affiliated_keywords; -use super::keyword::affiliated_keyword; use super::org_source::OrgSource; use super::util::maybe_consume_trailing_whitespace_if_not_exiting; use crate::context::parser_with_context; diff --git a/src/parser/element_parser.rs b/src/parser/element_parser.rs index 4a830eb..3535b0c 100644 --- a/src/parser/element_parser.rs +++ b/src/parser/element_parser.rs @@ -1,6 +1,4 @@ use nom::branch::alt; -use nom::combinator::map; -use nom::combinator::opt; use nom::multi::many0; #[cfg(feature = "tracing")] use tracing::span; diff --git a/src/parser/horizontal_rule.rs b/src/parser/horizontal_rule.rs index a51bb9a..ec45d95 100644 --- a/src/parser/horizontal_rule.rs +++ b/src/parser/horizontal_rule.rs @@ -5,12 +5,10 @@ use nom::character::complete::space0; use nom::combinator::eof; use nom::combinator::recognize; use nom::combinator::verify; -use nom::multi::many0; use nom::multi::many1_count; use nom::sequence::tuple; use super::affiliated_keyword::parse_affiliated_keywords; -use super::keyword::affiliated_keyword; use super::org_source::OrgSource; use super::util::get_consumed; use super::util::maybe_consume_trailing_whitespace_if_not_exiting; diff --git a/src/parser/keyword.rs b/src/parser/keyword.rs index 5f457f6..24a5f89 100644 --- a/src/parser/keyword.rs +++ b/src/parser/keyword.rs @@ -13,7 +13,6 @@ use nom::combinator::not; use nom::combinator::peek; use nom::combinator::recognize; use nom::combinator::verify; -use nom::multi::many0; use nom::multi::many_till; use nom::sequence::tuple; diff --git a/src/parser/latex_environment.rs b/src/parser/latex_environment.rs index f9d6c16..af41d91 100644 --- a/src/parser/latex_environment.rs +++ b/src/parser/latex_environment.rs @@ -8,12 +8,10 @@ use nom::character::complete::space0; use nom::combinator::eof; use nom::combinator::peek; use nom::combinator::recognize; -use nom::multi::many0; use nom::multi::many_till; use nom::sequence::tuple; use super::affiliated_keyword::parse_affiliated_keywords; -use super::keyword::affiliated_keyword; use super::org_source::OrgSource; use super::util::get_consumed; use super::util::maybe_consume_trailing_whitespace_if_not_exiting; diff --git a/src/parser/lesser_block.rs b/src/parser/lesser_block.rs index e7a3b3c..37f3091 100644 --- a/src/parser/lesser_block.rs +++ b/src/parser/lesser_block.rs @@ -13,13 +13,11 @@ use nom::combinator::opt; use nom::combinator::peek; use nom::combinator::recognize; use nom::combinator::verify; -use nom::multi::many0; use nom::multi::many_till; use nom::sequence::tuple; use nom::InputTake; use super::affiliated_keyword::parse_affiliated_keywords; -use super::keyword::affiliated_keyword; use super::org_source::OrgSource; use super::util::maybe_consume_trailing_whitespace_if_not_exiting; use crate::context::parser_with_context;