Address review comments part 1

This commit is contained in:
hecatia-elegua 2023-03-30 17:35:57 +02:00
parent ba2b48d1b8
commit c469936aac
5 changed files with 19 additions and 17 deletions

View file

@ -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![]
}