diff options
Diffstat (limited to 'crates/ra_ide_api/src/hover.rs')
-rw-r--r-- | crates/ra_ide_api/src/hover.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/hover.rs b/crates/ra_ide_api/src/hover.rs index bfa7cd67a..7d2c57f82 100644 --- a/crates/ra_ide_api/src/hover.rs +++ b/crates/ra_ide_api/src/hover.rs | |||
@@ -235,7 +235,7 @@ impl NavigationTarget { | |||
235 | } | 235 | } |
236 | 236 | ||
237 | visitor() | 237 | visitor() |
238 | .visit(crate::completion::function_label) | 238 | .visit(|node: &ast::FnDef| Some(crate::display::function_label(node))) |
239 | .visit(|node: &ast::StructDef| visit_node(node, "struct ")) | 239 | .visit(|node: &ast::StructDef| visit_node(node, "struct ")) |
240 | .visit(|node: &ast::EnumDef| visit_node(node, "enum ")) | 240 | .visit(|node: &ast::EnumDef| visit_node(node, "enum ")) |
241 | .visit(|node: &ast::TraitDef| visit_node(node, "trait ")) | 241 | .visit(|node: &ast::TraitDef| visit_node(node, "trait ")) |