From ba48c0d8bd93a0cb5c141f9296843bf5028d960d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 23 Mar 2021 12:59:51 +0300 Subject: Align naming of deps and revdeps --- crates/base_db/src/input.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/base_db') diff --git a/crates/base_db/src/input.rs b/crates/base_db/src/input.rs index 04a338d99..56fb4ad71 100644 --- a/crates/base_db/src/input.rs +++ b/crates/base_db/src/input.rs @@ -276,10 +276,7 @@ impl CrateGraph { /// Returns all transitive reverse dependencies of the given crate, /// including the crate itself. - pub fn transitive_reverse_dependencies( - &self, - of: CrateId, - ) -> impl Iterator + '_ { + pub fn transitive_rev_deps(&self, of: CrateId) -> impl Iterator + '_ { let mut worklist = vec![of]; let mut rev_deps = FxHashSet::default(); rev_deps.insert(of); -- cgit v1.2.3