mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-29 06:23:25 +00:00
trim trailing whitespaces (#14044)
This commit is contained in:
parent
75676ebe86
commit
5356a8b157
1 changed files with 3 additions and 3 deletions
|
@ -160,9 +160,9 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
|
|||
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(),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue