This commit is contained in:
hecatia-elegua 2023-03-29 14:34:06 +02:00
parent c351f6bf43
commit 53afac72d2

View file

@ -547,7 +547,7 @@ impl<'a> CompletionContext<'a> {
self.krate != defining_crate && attrs.has_doc_hidden()
}
pub fn doc_aliases(&self, scope_def: ScopeDef) -> Vec<syntax::SmolStr> {
fn doc_aliases(&self, scope_def: ScopeDef) -> Vec<syntax::SmolStr> {
if let Some(attrs) = scope_def.attrs(self.db) {
attrs.doc_aliases()
} else {