]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #87720 - matthiaskrgr:clippy_into, r=jyn514
authorYuki Okushi <jtitor@2k36.org>
Tue, 3 Aug 2021 23:05:54 +0000 (08:05 +0900)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 23:05:54 +0000 (08:05 +0900)
don't use .into() to convert types to identical types (clippy::useless_conversion)

Example:
let _x: String = String::from("hello world").into();

1  2 
compiler/rustc_mir/src/interpret/operand.rs