diff options
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/code_model.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir/src/code_model.rs b/crates/hir/src/code_model.rs index f3388da32..a19b0fad7 100644 --- a/crates/hir/src/code_model.rs +++ b/crates/hir/src/code_model.rs | |||
@@ -98,8 +98,8 @@ impl Crate { | |||
98 | db.crate_graph()[self.id].edition | 98 | db.crate_graph()[self.id].edition |
99 | } | 99 | } |
100 | 100 | ||
101 | pub fn display_name(self, db: &dyn HirDatabase) -> Option<CrateName> { | 101 | pub fn declaration_name(self, db: &dyn HirDatabase) -> Option<CrateName> { |
102 | db.crate_graph()[self.id].display_name.clone() | 102 | db.crate_graph()[self.id].declaration_name.clone() |
103 | } | 103 | } |
104 | 104 | ||
105 | pub fn query_external_importables( | 105 | pub fn query_external_importables( |