Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/vfs/src/vfs_path.rs')
| -rw-r--r-- | crates/vfs/src/vfs_path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/vfs/src/vfs_path.rs b/crates/vfs/src/vfs_path.rs index 52ada32bdf..2d3fb9d88c 100644 --- a/crates/vfs/src/vfs_path.rs +++ b/crates/vfs/src/vfs_path.rs @@ -326,7 +326,7 @@ impl VirtualPath { } fn strip_prefix(&self, base: &VirtualPath) -> Option<&RelPath> { - <_ as AsRef<std::path::Path>>::as_ref(&self.0) + <_ as AsRef<paths::Utf8Path>>::as_ref(&self.0) .strip_prefix(&base.0) .ok() .map(RelPath::new_unchecked) |