diff --git a/build.rs b/build.rs index 5478ee28..68a9b573 100644 --- a/build.rs +++ b/build.rs @@ -75,6 +75,7 @@ fn is_expect_fail(name: &str) -> Option<&str> { "element_container_priority_footnote_definition_dynamic_block" => Some("Apparently broken begin lines become their own paragraph."), "paragraphs_paragraph_with_backslash_line_breaks" => Some("The text we're getting out of the parse tree is already processed to remove line breaks, so our comparison needs to take that into account."), "export_snippet_paragraph_break_precedence" => Some("The latest code for org-mode is matching the export snippet without the closing @@."), // https://list.orgmode.org/orgmode/fb61ea28-f004-4c25-adf7-69fc55683ed4@app.fastmail.com/T/#u + "plain_lists_trailing_whitespace_ownership" => Some("Seeing odd behavior about whitespace ownership."), _ => None, } } diff --git a/src/parser/plain_list.rs b/src/parser/plain_list.rs index 4d6e5cfb..1990bab5 100644 --- a/src/parser/plain_list.rs +++ b/src/parser/plain_list.rs @@ -7,13 +7,10 @@ use nom::character::complete::space0; use nom::character::complete::space1; use nom::combinator::eof; use nom::combinator::opt; -use nom::combinator::peek; use nom::combinator::recognize; use nom::combinator::verify; use nom::multi::many1; use nom::multi::many_till; -use nom::sequence::preceded; -use nom::sequence::terminated; use nom::sequence::tuple; use super::greater_element::PlainList;