Update zokrates_fs_resolver/src/lib.rs
This commit is contained in:
parent
ace1753355
commit
5875a4d70f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ impl<'a> Resolver<io::Error> for FileSystemResolver<'a> {
|
|||
}
|
||||
|
||||
// paths starting with `./` or `../` are interpreted relative to the current file
|
||||
// other paths `abc/def` are interpreted relative to standard library root path
|
||||
// other paths `abc/def` are interpreted relative to the standard library root path
|
||||
let base = match source.components().next() {
|
||||
Some(Component::CurDir) | Some(Component::ParentDir) => {
|
||||
PathBuf::from(current_location).parent().unwrap().into()
|
||||
|
|
Loading…
Reference in a new issue