diff --git a/crates/ra_ide_api_light/src/structure.rs b/crates/ra_ide_api_light/src/structure.rs index dc35344982..330a3694cd 100644 --- a/crates/ra_ide_api_light/src/structure.rs +++ b/crates/ra_ide_api_light/src/structure.rs @@ -62,7 +62,7 @@ fn structure_node(node: &SyntaxNode) -> Option { detail: Option, ) -> Option { let name = node.name()?; - dbg!(name.text().to_string()); + Some(StructureNode { parent: None, label: name.text().to_string(),