diff options
Diffstat (limited to 'crates/ra_hir_def/src/docs.rs')
-rw-r--r-- | crates/ra_hir_def/src/docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_hir_def/src/docs.rs b/crates/ra_hir_def/src/docs.rs index 1b5c85437..69846fd1b 100644 --- a/crates/ra_hir_def/src/docs.rs +++ b/crates/ra_hir_def/src/docs.rs | |||
@@ -5,7 +5,7 @@ use std::sync::Arc; | |||
5 | use hir_expand::either::Either; | 5 | use hir_expand::either::Either; |
6 | use ra_syntax::ast; | 6 | use ra_syntax::ast; |
7 | 7 | ||
8 | use crate::{db::DefDatabase2, AdtId, AstItemDef, AttrDefId, HasChildSource, HasSource, Lookup}; | 8 | use crate::{db::DefDatabase, AdtId, AstItemDef, AttrDefId, HasChildSource, HasSource, Lookup}; |
9 | 9 | ||
10 | /// Holds documentation | 10 | /// Holds documentation |
11 | #[derive(Debug, Clone, PartialEq, Eq)] | 11 | #[derive(Debug, Clone, PartialEq, Eq)] |
@@ -27,7 +27,7 @@ impl Documentation { | |||
27 | } | 27 | } |
28 | 28 | ||
29 | pub(crate) fn documentation_query( | 29 | pub(crate) fn documentation_query( |
30 | db: &impl DefDatabase2, | 30 | db: &impl DefDatabase, |
31 | def: AttrDefId, | 31 | def: AttrDefId, |
32 | ) -> Option<Documentation> { | 32 | ) -> Option<Documentation> { |
33 | match def { | 33 | match def { |