From 75676ebe86703efbdaf00c5586ed6208bbd7ad9b Mon Sep 17 00:00:00 2001 From: gftea <1705787+gftea@users.noreply.github.com> Date: Mon, 30 Jan 2023 19:17:48 +0100 Subject: [PATCH] Update crates/ide/src/file_structure.rs Co-authored-by: Jonas Schievink --- crates/ide/src/file_structure.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/ide/src/file_structure.rs b/crates/ide/src/file_structure.rs index ab1365e31740..afcdf7b59837 100644 --- a/crates/ide/src/file_structure.rs +++ b/crates/ide/src/file_structure.rs @@ -161,9 +161,10 @@ fn structure_node(node: &SyntaxNode) -> Option { None => format!("impl {}", target_type.syntax().text()), Some(t) => { format!("impl {}{} for {}", - it.excl_token().map(|x| x.to_string()).unwrap_or_default(), - t.syntax().text(), - target_type.syntax().text(),) + it.excl_token().map(|x| x.to_string()).unwrap_or_default(), + t.syntax().text(), + target_type.syntax().text(), + ) } };