mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Address review comments part 1
This commit is contained in:
parent
ba2b48d1b8
commit
c469936aac
5 changed files with 19 additions and 17 deletions
|
@ -549,7 +549,7 @@ impl<'a> CompletionContext<'a> {
|
|||
|
||||
fn doc_aliases(&self, scope_def: ScopeDef) -> Vec<SmolStr> {
|
||||
if let Some(attrs) = scope_def.attrs(self.db) {
|
||||
attrs.doc_aliases()
|
||||
attrs.doc_aliases().collect()
|
||||
} else {
|
||||
vec![]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue