mirror of
https://gitee.com/openharmony/third_party_rust_nom
synced 2024-11-27 01:30:32 +00:00
fix compilation
This commit is contained in:
parent
8243e19a77
commit
d396d3b9f9
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user