diff options
author | Lukas Wirth <[email protected]> | 2020-12-11 20:19:58 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-12-11 20:19:58 +0000 |
commit | 8ed8e4f25abc95d06487c34e0b2b85778aa6a4b4 (patch) | |
tree | 641bd502632512a1dff24d0cbd99710425a815bf /crates/hir_def | |
parent | 91bf15a2f53629209bd13d2e46121b9be8af1f94 (diff) |
Use Attrs::docs in NavigationTarget instead of DocCommentsOwner
Diffstat (limited to 'crates/hir_def')
-rw-r--r-- | crates/hir_def/src/attr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir_def/src/attr.rs b/crates/hir_def/src/attr.rs index ff8fb7483..c64b78445 100644 --- a/crates/hir_def/src/attr.rs +++ b/crates/hir_def/src/attr.rs | |||
@@ -23,7 +23,7 @@ use crate::{ | |||
23 | }; | 23 | }; |
24 | 24 | ||
25 | /// Holds documentation | 25 | /// Holds documentation |
26 | #[derive(Debug, Clone, PartialEq, Eq)] | 26 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
27 | pub struct Documentation(String); | 27 | pub struct Documentation(String); |
28 | 28 | ||
29 | impl Documentation { | 29 | impl Documentation { |