Update crates/ide/src/file_structure.rs
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
parent
28b7460db1
commit
75676ebe86
1 changed files with 4 additions and 3 deletions
|
@ -161,9 +161,10 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
|
|||
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(),
|
||||
)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue