fix compilation

This commit is contained in:
Geoffroy Couprie 2019-04-15 15:22:38 +02:00
parent 8243e19a77
commit d396d3b9f9
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ extern crate jemallocator;
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
use criterion::Criterion;
use nom::{error::ErrorKind, character::alphanumeric, number::recognize_float};
use nom::{error::ErrorKind, character::alphanumeric, number::complete::recognize_float};
use std::str;

View File

@ -11,7 +11,7 @@ use nom::{Err, IResult, Offset, error::{VerboseError, VerboseErrorKind}};
use nom::{character::complete::alphanumeric, take_while, tag, separated_listc, alt};
use nom::{delimited, preceded, separated_list, terminated, error::context};
use nom::character::complete::char;
use nom::number::recognize_float;
use nom::number::complete::recognize_float;
use nom::error::{ErrorKind,ParseError};
use std::str;
use std::iter::repeat;

View File

@ -4,7 +4,7 @@
#[macro_use]
extern crate nom;
use nom::{character::is_alphanumeric, number::recognize_float};
use nom::{character::is_alphanumeric, number::complete::recognize_float};
use std::str;
use std::collections::HashMap;