diff options
Diffstat (limited to 'crates/ide_completion/src/item.rs')
-rw-r--r-- | crates/ide_completion/src/item.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crates/ide_completion/src/item.rs b/crates/ide_completion/src/item.rs index 9b039e3e5..b6bc11da2 100644 --- a/crates/ide_completion/src/item.rs +++ b/crates/ide_completion/src/item.rs | |||
@@ -430,11 +430,8 @@ impl Builder { | |||
430 | self.import_to_add = import_to_add; | 430 | self.import_to_add = import_to_add; |
431 | self | 431 | self |
432 | } | 432 | } |
433 | pub(crate) fn set_ref_match( | 433 | pub(crate) fn ref_match(mut self, ref_match: (Mutability, CompletionScore)) -> Builder { |
434 | mut self, | 434 | self.ref_match = Some(ref_match); |
435 | ref_match: Option<(Mutability, CompletionScore)>, | ||
436 | ) -> Builder { | ||
437 | self.ref_match = ref_match; | ||
438 | self | 435 | self |
439 | } | 436 | } |
440 | } | 437 | } |