mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
remove unnecessary lifetimes that can be elided
This commit is contained in:
parent
8615bba105
commit
4f8ffd0ba4
11 changed files with 49 additions and 63 deletions
|
@ -116,9 +116,9 @@ enum Mode {
|
|||
Template,
|
||||
}
|
||||
|
||||
fn next_op<'a>(
|
||||
fn next_op(
|
||||
first_peeked: &tt::TokenTree,
|
||||
src: &mut TtIter<'a>,
|
||||
src: &mut TtIter<'_>,
|
||||
mode: Mode,
|
||||
) -> Result<Op, ParseError> {
|
||||
let res = match first_peeked {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue