mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
fix: Do not complete Drop::drop
, complete std::mem::drop
instead
This commit is contained in:
parent
276687a6ee
commit
5360c9bd22
8 changed files with 88 additions and 10 deletions
|
@ -71,6 +71,7 @@ impl<'a> RenderContext<'a> {
|
|||
.unwrap_or(false)
|
||||
}
|
||||
|
||||
// FIXME: remove this
|
||||
fn docs(&self, def: impl HasAttrs) -> Option<hir::Documentation> {
|
||||
def.docs(self.db())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue