diff options
Diffstat (limited to 'src/path')
-rw-r--r-- | src/path/mod.rs | 5 | ||||
-rw-r--r-- | src/path/parser.rs | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/path/mod.rs b/src/path/mod.rs index c6de2a7..d58a6f2 100644 --- a/src/path/mod.rs +++ b/src/path/mod.rs @@ -1,7 +1,8 @@ -use error::*; use std::collections::HashMap; use std::str::FromStr; -use value::{Value, ValueKind}; + +use crate::error::*; +use crate::value::{Value, ValueKind}; mod parser; diff --git a/src/path/parser.rs b/src/path/parser.rs index 6c873cb..3f7bc52 100644 --- a/src/path/parser.rs +++ b/src/path/parser.rs @@ -1,4 +1,5 @@ -use super::Expression; +use std::str::FromStr; + use nom::{ branch::alt, bytes::complete::{is_a, tag}, @@ -8,7 +9,8 @@ use nom::{ sequence::{delimited, pair, preceded}, Err, IResult, }; -use std::str::FromStr; + +use crate::path::Expression; fn raw_ident(i: &str) -> IResult<&str, String> { map( |