mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
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
|
@ -163,7 +163,8 @@ fn structure_node(node: &SyntaxNode) -> Option<StructureNode> {
|
||||||
format!("impl {}{} for {}",
|
format!("impl {}{} for {}",
|
||||||
it.excl_token().map(|x| x.to_string()).unwrap_or_default(),
|
it.excl_token().map(|x| x.to_string()).unwrap_or_default(),
|
||||||
t.syntax().text(),
|
t.syntax().text(),
|
||||||
target_type.syntax().text(),)
|
target_type.syntax().text(),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue