mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Use anonymous lifetime where possible
This commit is contained in:
parent
70a01fead5
commit
4e793e7859
30 changed files with 60 additions and 60 deletions
|
@ -195,7 +195,7 @@ fn postorder(item: &SyntaxNode) -> impl Iterator<Item = SyntaxNode> {
|
|||
})
|
||||
}
|
||||
|
||||
impl<'a> Ctx<'a> {
|
||||
impl Ctx<'_> {
|
||||
fn apply(&self, item: &SyntaxNode) {
|
||||
// `transform_path` may update a node's parent and that would break the
|
||||
// tree traversal. Thus all paths in the tree are collected into a vec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue