mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Some clippy fixes for 1.36
This commit is contained in:
parent
c6a6e43372
commit
4ad9e986ad
31 changed files with 62 additions and 70 deletions
|
@ -56,7 +56,7 @@ fn parse_subtree(tt: &tt::Subtree, transcriber: bool) -> Result<crate::Subtree,
|
|||
}
|
||||
}
|
||||
tt::Leaf::Punct(punct) => crate::Leaf::from(*punct).into(),
|
||||
tt::Leaf::Ident(tt::Ident { text, id: _ }) => {
|
||||
tt::Leaf::Ident(tt::Ident { text, .. }) => {
|
||||
crate::Leaf::from(crate::Ident { text: text.clone() }).into()
|
||||
}
|
||||
tt::Leaf::Literal(tt::Literal { text }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue