diff options
Diffstat (limited to 'src/path/parser.rs')
-rw-r--r-- | src/path/parser.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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( |