rust/clippy_lints
Michael Wright e8d33d73dc Fix let_and_return bad suggestion
Add a cast to the suggestion when the return expression has adjustments.
These adjustments are lost when the suggestion is applied.

This is similar to the problem in issue #4437.

Closes #5729
2020-08-23 07:50:59 +02:00
..
src Fix let_and_return bad suggestion 2020-08-23 07:50:59 +02:00
Cargo.toml deps: bump cargo_metadata and semver 2020-08-17 12:19:32 +02:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.