aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion.rs')
-rw-r--r--crates/ra_ide_api/src/completion.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion.rs b/crates/ra_ide_api/src/completion.rs
index c8022f94f..639942f7b 100644
--- a/crates/ra_ide_api/src/completion.rs
+++ b/crates/ra_ide_api/src/completion.rs
@@ -102,7 +102,7 @@ pub fn const_label(node: &ast::ConstDef) -> String {
102 label.trim().to_owned() 102 label.trim().to_owned()
103} 103}
104 104
105pub fn type_label(node: &ast::TypeDef) -> String { 105pub fn type_label(node: &ast::TypeAliasDef) -> String {
106 let label: String = node 106 let label: String = node
107 .syntax() 107 .syntax()
108 .children() 108 .children()