aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/display/structure.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/display/structure.rs')
-rw-r--r--crates/ra_ide_api/src/display/structure.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/display/structure.rs b/crates/ra_ide_api/src/display/structure.rs
index a2025ed59..be042ed17 100644
--- a/crates/ra_ide_api/src/display/structure.rs
+++ b/crates/ra_ide_api/src/display/structure.rs
@@ -161,7 +161,7 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
161#[cfg(test)] 161#[cfg(test)]
162mod tests { 162mod tests {
163 use super::*; 163 use super::*;
164 use insta::assert_debug_snapshot_matches; 164 use insta::assert_debug_snapshot;
165 165
166 #[test] 166 #[test]
167 fn test_file_structure() { 167 fn test_file_structure() {
@@ -204,7 +204,7 @@ fn very_obsolete() {}
204 .ok() 204 .ok()
205 .unwrap(); 205 .unwrap();
206 let structure = file_structure(&file); 206 let structure = file_structure(&file);
207 assert_debug_snapshot_matches!(structure, 207 assert_debug_snapshot!(structure,
208 @r#"[ 208 @r#"[
209 StructureNode { 209 StructureNode {
210 parent: None, 210 parent: None,