From 5356a8b1575514ba2a51d54e0e5565d9c001bd18 Mon Sep 17 00:00:00 2001 From: gftea Date: Mon, 30 Jan 2023 20:03:44 +0100 Subject: [PATCH] trim trailing whitespaces (#14044) --- crates/ide/src/file_structure.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ide/src/file_structure.rs b/crates/ide/src/file_structure.rs index afcdf7b59837..dcca3d323e82 100644 --- a/crates/ide/src/file_structure.rs +++ b/crates/ide/src/file_structure.rs @@ -160,9 +160,9 @@ fn structure_node(node: &SyntaxNode) -> Option { let label = match target_trait { 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(), + format!("impl {}{} for {}", + it.excl_token().map(|x| x.to_string()).unwrap_or_default(), + t.syntax().text(), target_type.syntax().text(), ) }