]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #70187 - matthiaskrgr:cl2ppy, r=Mark-Simulacrum
authorMazdak Farrokhzad <twingoow@gmail.com>
Sat, 21 Mar 2020 04:33:31 +0000 (05:33 +0100)
committerGitHub <noreply@github.com>
Sat, 21 Mar 2020 04:33:31 +0000 (05:33 +0100)
more clippy fixes

    * remove redundant returns (clippy::needless_return)
    * remove redundant import (clippy::single_component_path_imports)
    * remove redundant format!() call (clippy::useless_format)
    * don't use ok() before calling expect() (clippy::ok_expect)

1  2 
src/librustc_mir/interpret/place.rs
src/librustc_mir_build/build/mod.rs
src/librustc_parse/parser/expr.rs
src/librustc_parse/parser/item.rs
src/librustc_parse/parser/pat.rs

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge