mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Remove documentation query
This commit is contained in:
parent
03b886de53
commit
b3652ef288
6 changed files with 26 additions and 59 deletions
|
@ -38,7 +38,7 @@ macro_rules! impl_has_attrs {
|
|||
}
|
||||
fn docs(self, db: &dyn HirDatabase) -> Option<Documentation> {
|
||||
let def = AttrDefId::$def_id(self.into());
|
||||
db.documentation(def)
|
||||
db.attrs(def).docs()
|
||||
}
|
||||
fn resolve_doc_path(self, db: &dyn HirDatabase, link: &str, ns: Option<Namespace>) -> Option<ModuleDef> {
|
||||
let def = AttrDefId::$def_id(self.into());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue