Cleaning up.

This commit is contained in:
Tom Alexander 2022-12-11 00:13:19 -05:00
parent 103dcbea35
commit b2742f89e2
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 0 additions and 14 deletions

View File

@ -1,5 +1,4 @@
use crate::parser::document;
use tracing::trace;
use tracing::Level;
use tracing_subscriber::fmt::format::FmtSpan;

View File

@ -1,6 +1,3 @@
use std::cell::RefCell;
use std::rc::Rc;
use nom::branch::alt;
/*
@ -27,9 +24,6 @@ use nom::multi::many1;
use nom::multi::many_till;
use nom::sequence::tuple;
use nom::IResult;
use tracing::instrument;
use super::text_element_parser::paragraph;
pub type Res<T, U> = IResult<T, U, VerboseError<T>>;

View File

@ -1,7 +1,4 @@
//! A single element of text.
use std::cell::RefCell;
use std::rc::Rc;
use crate::parser::parser_with_context::parser_with_context;
use crate::parser::text::paragraph_end;
@ -31,15 +28,11 @@ use nom::combinator::not;
use nom::combinator::recognize;
use nom::error::ErrorKind;
use nom::error::ParseError;
use nom::error::VerboseError;
use nom::multi::many1;
use nom::multi::many_till;
use nom::sequence::tuple;
use nom::IResult;
use nom::InputLength;
use nom::Parser;
use tracing::instrument;
use tracing::trace;
type UnboundMatcher<'r, 's, I, O, E> = dyn Fn(Context<'r, 's>, I) -> IResult<I, O, E>;