]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #75795 - matthiaskrgr:cargotest_clippy, r=Dylan-DPC
authorbors <bors@rust-lang.org>
Sat, 22 Aug 2020 11:07:03 +0000 (11:07 +0000)
committerbors <bors@rust-lang.org>
Sat, 22 Aug 2020 11:07:03 +0000 (11:07 +0000)
cargotest: fix clippy warnings

Fixes clippy::redundant_static_lifetimes and clippy::toplevel_ref_arg
I also replaced some .expect("") calls with .unwrap()s since there was no message passed by the .expect() anyway.


Trivial merge