Address warnings

This commit is contained in:
Patrick Lühne 2020-03-27 03:18:31 +01:00
parent 675063e1b8
commit 3414e8075c
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ mod terms;
pub(crate) use helpers::word_boundary;
pub(crate) use literals::{boolean, integer, special_integer, string};
pub use names::{function_or_predicate_name, variable_name};
pub(crate) use names::{function_or_predicate_name, variable_name};
pub use terms::term;
pub use formulas::formula;

View File

@ -2,15 +2,15 @@ use nom::
{
IResult,
branch::alt,
bytes::complete::{escaped_transform, tag},
character::complete::{multispace0, none_of},
bytes::complete::tag,
character::complete::multispace0,
combinator::{map, opt},
multi::{many1, separated_list},
sequence::{delimited, pair, preceded, terminated},
};
use super::{Declarations, boolean, function_or_predicate_name, integer, special_integer, string,
variable_name, word_boundary};
variable_name};
fn negative<'i>(i: &'i str, d: &Declarations) -> IResult<&'i str, crate::Term>
{