aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-17 17:25:52 +0000
committerAleksey Kladov <[email protected]>2019-02-17 17:25:52 +0000
commit7187fc5c2aab7c5578d4820fc3d959b8174cf845 (patch)
tree23097604943bfc72cbdc4d2efe66428019dcf494 /crates/ra_vfs/src
parente95fb7c9f96eef5b82b1b1bec5126f0cd4c05a9b (diff)
rename method
Diffstat (limited to 'crates/ra_vfs/src')
-rw-r--r--crates/ra_vfs/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs
index 1bac3f86f..106afa9e7 100644
--- a/crates/ra_vfs/src/lib.rs
+++ b/crates/ra_vfs/src/lib.rs
@@ -101,7 +101,7 @@ impl Vfs {
101 rel_path.to_path(root_path) 101 rel_path.to_path(root_path)
102 } 102 }
103 103
104 pub fn num_roots(&self) -> usize { 104 pub fn n_roots(&self) -> usize {
105 self.roots.len() 105 self.roots.len()
106 } 106 }
107 107