diff options
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> { |