Jeremy Kolb
2019-12-30 09:12:06 -05:00
committed by kjeremy
parent 928ecd069a
commit 1b19a8aa5e
11 changed files with 502 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ use super::short_label::ShortLabel;
///
/// Typically, a `NavigationTarget` corresponds to some element in the source
/// code, like a function or a struct, but this is not strictly required.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct NavigationTarget {
file_id: FileId,
name: SmolStr,