diff options
| author | Max Heller <max.a.heller@gmail.com> | 2023-07-28 09:23:05 -0400 |
|---|---|---|
| committer | Max Heller <max.a.heller@gmail.com> | 2023-07-28 09:23:05 -0400 |
| commit | bc2b70d678f0a99484b9353cf2fdb6a0e25a3db5 (patch) | |
| tree | a2c519a068e6e7deaff36764cf9eba30132a3de4 | |
| parent | 047bc47ecd5f0769b5eaa4e56001b59bdfc5cdf1 (diff) | |
| download | rust-bc2b70d678f0a99484b9353cf2fdb6a0e25a3db5.tar.gz rust-bc2b70d678f0a99484b9353cf2fdb6a0e25a3db5.zip | |
formatting
| -rw-r--r-- | crates/ide-completion/src/item.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ide-completion/src/item.rs b/crates/ide-completion/src/item.rs index 40e51201987..c7879d7bf3a 100644 --- a/crates/ide-completion/src/item.rs +++ b/crates/ide-completion/src/item.rs @@ -429,7 +429,9 @@ impl Builder { if !self.doc_aliases.is_empty() { let doc_aliases = self.doc_aliases.iter().join(", "); label = SmolStr::from(format!("{label} (alias {doc_aliases})")); - let lookup_doc_aliases = (self.doc_aliases.iter()) + let lookup_doc_aliases = self + .doc_aliases + .iter() // Don't include aliases in `lookup` that aren't valid identifiers as including // them results in weird completion filtering behavior e.g. `Partial>` matching // `PartialOrd` because it has an alias of ">". |
