Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Apr 15, 2019
1 parent 8243e19 commit d396d3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benches/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d396d3b

Please sign in to comment.