Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/vfs/src/lib.rs')
-rw-r--r--crates/vfs/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/vfs/src/lib.rs b/crates/vfs/src/lib.rs
index d48b984407..8d2c65f791 100644
--- a/crates/vfs/src/lib.rs
+++ b/crates/vfs/src/lib.rs
@@ -211,7 +211,7 @@ impl Vfs {
///
/// Returns `true` if the file was modified, and saves the [change](ChangedFile).
///
- /// If the path does not currently exists in the `Vfs`, allocates a new
+ /// If the path does not currently exist in the `Vfs`, allocates a new
/// [`FileId`] for it.
pub fn set_file_contents(&mut self, path: VfsPath, contents: Option<Vec<u8>>) -> bool {
let _p = span!(Level::INFO, "Vfs::set_file_contents").entered();
@@ -280,7 +280,7 @@ impl Vfs {
true
}
- /// Drain and returns all the changes in the `Vfs`.
+ /// Drains and returns all the changes in the `Vfs`.
pub fn take_changes(&mut self) -> IndexMap<FileId, ChangedFile, BuildHasherDefault<FxHasher>> {
mem::take(&mut self.changes)
}
@@ -292,7 +292,7 @@ impl Vfs {
/// Returns the id associated with `path`
///
- /// - If `path` does not exists in the `Vfs`, allocate a new id for it, associated with a
+ /// - If `path` does not exist in the `Vfs`, allocates a new id for it, associated with a
/// deleted file;
/// - Else, returns `path`'s id.
///