diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-19 18:49:36 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-19 18:49:36 +0100 |
commit | bb07e6bdee234d4408c3733307d6134597b531ec (patch) | |
tree | a51117f4fed220e42ed145b4d82d752545f28d82 /crates/ide_db/src/search.rs | |
parent | f5b7540f388e815b3c4c2fb28b8233c724e0a838 (diff) | |
parent | 4b5b55f6f3d1879cd974f290e2f0d92f487acc4b (diff) |
Merge #5821
5821: **Remove Unused Parameter** refactoring
r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ide_db/src/search.rs')
-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> { |