From 8ed8e4f25abc95d06487c34e0b2b85778aa6a4b4 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Fri, 11 Dec 2020 21:19:58 +0100 Subject: Use Attrs::docs in NavigationTarget instead of DocCommentsOwner --- crates/hir_def/src/attr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_def') 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::{ }; /// Holds documentation -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, Hash)] pub struct Documentation(String); impl Documentation { -- cgit v1.2.3