diff options
Diffstat (limited to 'crates/vfs')
-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 2b3d7fd84..ef2d7657a 100644 --- a/crates/vfs/src/vfs_path.rs +++ b/crates/vfs/src/vfs_path.rs | |||
@@ -389,7 +389,7 @@ impl VirtualPath { | |||
389 | 389 | ||
390 | match (file_stem, extension) { | 390 | match (file_stem, extension) { |
391 | (None, None) => None, | 391 | (None, None) => None, |
392 | (None, Some(_)) | (Some(""), Some(_)) => Some((file_name, None)), | 392 | (None | Some(""), Some(_)) => Some((file_name, None)), |
393 | (Some(file_stem), extension) => Some((file_stem, extension)), | 393 | (Some(file_stem), extension) => Some((file_stem, extension)), |
394 | } | 394 | } |
395 | } | 395 | } |