aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2020-12-11 20:19:58 +0000
committerLukas Wirth <[email protected]>2020-12-11 20:19:58 +0000
commit8ed8e4f25abc95d06487c34e0b2b85778aa6a4b4 (patch)
tree641bd502632512a1dff24d0cbd99710425a815bf /crates/hir_def
parent91bf15a2f53629209bd13d2e46121b9be8af1f94 (diff)
Use Attrs::docs in NavigationTarget instead of DocCommentsOwner
Diffstat (limited to 'crates/hir_def')
-rw-r--r--crates/hir_def/src/attr.rs2
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)]
27pub struct Documentation(String); 27pub struct Documentation(String);
28 28
29impl Documentation { 29impl Documentation {