rust/clippy_lints
bors 894581b872 Auto merge of #5946 - mikerite:fix-5729, r=flip1995
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

changelog: Fix `let_and_return` bad suggestion
2020-08-26 12:01:32 +00:00
..
src Auto merge of #5946 - mikerite:fix-5729, r=flip1995 2020-08-26 12:01:32 +00:00
Cargo.toml deps: bump cargo_metadata and semver 2020-08-17 12:19:32 +02:00
README.md

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