rust/clippy_lints
bors f78292a4ad Auto merge of #9156 - Rqnsom:manual_flatten, r=Alexendoo
fix [`manual_flatten`] help texts order

fixes  #8948

Whenever suggestion for this lint does not fit in one line,
legacy solution has some unexpected/unhandled behavior:
lint will then generate two help messages which seem to be shown in the wrong order.
The second help message in that case will contain the suggestion.

The first help message always refers to a suggestion message,
and **it should adapt** depending on the location of the suggestion:
- inline suggestion within the error/warning message
- suggestion separated into a second help text

This is my first contribution here, so I hope I didn't miss anything for creating this PR.

changelog: fix [`manual_flatten`] help texts order
2022-07-13 12:52:08 +00:00
..
src Auto merge of #9156 - Rqnsom:manual_flatten, r=Alexendoo 2022-07-13 12:52:08 +00:00
Cargo.toml Bump Clippy version -> 0.1.64 2022-06-30 10:29:22 +02:00
README.md

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