diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 17:02:20 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 17:02:20 +0100 |
commit | 3cd4112bdc924c132cb0eab9d064511a215421ec (patch) | |
tree | f651b475d9c799a772fd37e89405f80a04ea953e /crates/ra_ide/src/display/short_label.rs | |
parent | 6b25f640a6ad8e2322b5cc0664223b742459336d (diff) |
Finalize const&static grammar
Diffstat (limited to 'crates/ra_ide/src/display/short_label.rs')
-rw-r--r-- | crates/ra_ide/src/display/short_label.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide/src/display/short_label.rs b/crates/ra_ide/src/display/short_label.rs index ddf1059ee..282f362f2 100644 --- a/crates/ra_ide/src/display/short_label.rs +++ b/crates/ra_ide/src/display/short_label.rs | |||
@@ -53,13 +53,13 @@ impl ShortLabel for ast::TypeAlias { | |||
53 | } | 53 | } |
54 | } | 54 | } |
55 | 55 | ||
56 | impl ShortLabel for ast::ConstDef { | 56 | impl ShortLabel for ast::Const { |
57 | fn short_label(&self) -> Option<String> { | 57 | fn short_label(&self) -> Option<String> { |
58 | short_label_from_ascribed_node(self, "const ") | 58 | short_label_from_ascribed_node(self, "const ") |
59 | } | 59 | } |
60 | } | 60 | } |
61 | 61 | ||
62 | impl ShortLabel for ast::StaticDef { | 62 | impl ShortLabel for ast::Static { |
63 | fn short_label(&self) -> Option<String> { | 63 | fn short_label(&self) -> Option<String> { |
64 | short_label_from_ascribed_node(self, "static ") | 64 | short_label_from_ascribed_node(self, "static ") |
65 | } | 65 | } |