mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Fix2
This commit is contained in:
parent
c351f6bf43
commit
53afac72d2
@ -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…
x
Reference in New Issue
Block a user