mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-16 15:14:02 +00:00
Fix2
This commit is contained in:
parent
c351f6bf43
commit
53afac72d2
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ impl<'a> CompletionContext<'a> {
|
||||||
self.krate != defining_crate && attrs.has_doc_hidden()
|
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) {
|
if let Some(attrs) = scope_def.attrs(self.db) {
|
||||||
attrs.doc_aliases()
|
attrs.doc_aliases()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue