diff options
author | Aleksey Kladov <[email protected]> | 2020-08-19 17:44:33 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-08-19 18:40:55 +0100 |
commit | 4b5b55f6f3d1879cd974f290e2f0d92f487acc4b (patch) | |
tree | a51117f4fed220e42ed145b4d82d752545f28d82 /crates/ide_db/src | |
parent | f5b7540f388e815b3c4c2fb28b8233c724e0a838 (diff) |
**Remove Unused Parameter** refactoring
Diffstat (limited to 'crates/ide_db/src')
-rw-r--r-- | crates/ide_db/src/search.rs | 2 |
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> { |