about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexis (Poliorcetics) Bourget <ab_github@poliorcetiq.eu>2023-05-06 16:02:34 +0200
committerAlexis (Poliorcetics) Bourget <ab_github@poliorcetiq.eu>2023-05-06 16:02:34 +0200
commit3d70ba7f946fca995d4b6067677f2010288e9767 (patch)
tree1b633c0003b4a50a046ded4217efb5b25794f387
parentc5e0607915075b37c3eb0e4d3caf8aac4d0b76ec (diff)
downloadrust-3d70ba7f946fca995d4b6067677f2010288e9767.tar.gz
rust-3d70ba7f946fca995d4b6067677f2010288e9767.zip
chore: remove unused method
-rw-r--r--crates/vfs/src/lib.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/vfs/src/lib.rs b/crates/vfs/src/lib.rs
index b510b9e3942..16fff36a770 100644
--- a/crates/vfs/src/lib.rs
+++ b/crates/vfs/src/lib.rs
@@ -108,13 +108,6 @@ pub enum ChangeKind {
 }
 
 impl Vfs {
-    /// Amount of files currently stored.
-    ///
-    /// Note that this includes deleted files.
-    pub fn len(&self) -> usize {
-        self.data.len()
-    }
-
     /// Id of the given path if it exists in the `Vfs` and is not deleted.
     pub fn file_id(&self, path: &VfsPath) -> Option<FileId> {
         self.interner.get(path).filter(|&it| self.get(it).is_some())