aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_db/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-08-19 17:44:33 +0100
committerAleksey Kladov <[email protected]>2020-08-19 18:40:55 +0100
commit4b5b55f6f3d1879cd974f290e2f0d92f487acc4b (patch)
treea51117f4fed220e42ed145b4d82d752545f28d82 /crates/ide_db/src
parentf5b7540f388e815b3c4c2fb28b8233c724e0a838 (diff)
**Remove Unused Parameter** refactoring
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r--crates/ide_db/src/search.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_db/src/search.rs b/crates/ide_db/src/search.rs
index ce7631c69..fa0830b23 100644
--- a/crates/ide_db/src/search.rs
+++ b/crates/ide_db/src/search.rs
@@ -203,7 +203,7 @@ impl<'a> FindUsages<'a> {
203 } 203 }
204 204
205 pub fn at_least_one(self) -> bool { 205 pub fn at_least_one(self) -> bool {
206 self.all().is_empty() 206 !self.all().is_empty()
207 } 207 }
208 208
209 pub fn all(self) -> Vec<Reference> { 209 pub fn all(self) -> Vec<Reference> {