From 7187fc5c2aab7c5578d4820fc3d959b8174cf845 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 17 Feb 2019 20:25:52 +0300 Subject: rename method --- crates/ra_vfs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_vfs/src') 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 { rel_path.to_path(root_path) } - pub fn num_roots(&self) -> usize { + pub fn n_roots(&self) -> usize { self.roots.len() } -- cgit v1.2.3