aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/display/short_label.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/display/short_label.rs')
-rw-r--r--crates/ra_ide_api/src/display/short_label.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/display/short_label.rs b/crates/ra_ide_api/src/display/short_label.rs
index 825a033ee..b16d504e1 100644
--- a/crates/ra_ide_api/src/display/short_label.rs
+++ b/crates/ra_ide_api/src/display/short_label.rs
@@ -53,7 +53,7 @@ impl ShortLabel for ast::StaticDef {
53 } 53 }
54} 54}
55 55
56impl ShortLabel for ast::NamedFieldDef { 56impl ShortLabel for ast::RecordFieldDef {
57 fn short_label(&self) -> Option<String> { 57 fn short_label(&self) -> Option<String> {
58 short_label_from_ascribed_node(self, "") 58 short_label_from_ascribed_node(self, "")
59 } 59 }