Enable clippy::map_identity
(#8731)
This PR enables the [`clippy::map_identity`](https://rust-lang.github.io/rust-clippy/master/index.html#/map_identity) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
parent
d7962aa2d3
commit
52052f342b
3 changed files with 3 additions and 4 deletions
|
@ -3665,7 +3665,7 @@ impl Project {
|
|||
proto::LspWorkStart {
|
||||
token,
|
||||
message: report.message,
|
||||
percentage: report.percentage.map(|p| p),
|
||||
percentage: report.percentage,
|
||||
},
|
||||
),
|
||||
})
|
||||
|
@ -3691,7 +3691,7 @@ impl Project {
|
|||
proto::LspWorkProgress {
|
||||
token,
|
||||
message: report.message,
|
||||
percentage: report.percentage.map(|p| p),
|
||||
percentage: report.percentage,
|
||||
},
|
||||
),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue