rust/src/libtest
Yuki Okushi 8e17c8366c
Rollup merge of #69802 - matthiaskrgr:cl1ppy, r=Dylan-DPC
fix more clippy findings

* reduce references on match patterns (clippy::match_ref_pats)
* Use writeln!(fmt, "word") instead of write!(fmt, "word\n") (clippy::write_with_newline)
* libtest: remove redundant argument to writeln!() (clippy::writeln_empty_string)
* remove unneeded mutable references (cippy::unnecessary_mut_passed)
* libtest: declare variables as floats instead of casting them (clippy::unnecessary_cast)
* rustdoc: remove redundant static lifetimes (clippy::redundant_static_lifetimes)
* call .as_deref() instead of .as_ref().map(Deref::deref) (clippy::option_as_ref_deref)
* iterate over a maps values directly. (clippy::for_kv_map)
* rustdoc: simplify boolean condition (clippy::nonminimal_bool)
* Use ?-operator in more places (clippy::question_mark, had some false negatives fixed recently)
* rustdoc: Use .any(p) instead of find(p).is_some(). (clippy::search_is_some)
* rustdoc: don't call into_iter() on iterator. (clippy::identity_conversion)
2020-03-14 04:03:24 +09:00
..
formatters Use writeln!(fmt, "word") instead of write!(fmt, "word\n") (clippy::write_with_newline) 2020-03-07 21:48:17 +01:00
helpers Format the world 2019-12-22 17:42:47 -05:00
stats Format the world 2019-12-22 17:42:47 -05:00
bench.rs Format the world 2019-12-22 17:42:47 -05:00
Cargo.toml
cli.rs fix various typos 2020-03-06 15:19:31 +01:00
console.rs libtest: remove redundant argument to writeln!() (clippy::writeln_empty_string) 2020-03-07 21:48:17 +01:00
event.rs Format the world 2019-12-22 17:42:47 -05:00
lib.rs Don't always eval arguments inside .expect(), use unwrap_or_else and closure. (clippy::expect_fun_call) 2020-03-05 16:39:20 +01:00
options.rs fix various typos 2020-03-06 15:19:31 +01:00
stats.rs libtest: declare variables as floats instead of casting them (clippy::unnecessary_cast) 2020-03-07 21:48:17 +01:00
test_result.rs fix various typos 2020-03-06 15:19:31 +01:00
tests.rs Format the world 2019-12-22 17:42:47 -05:00
time.rs Format the world 2019-12-22 17:42:47 -05:00
types.rs reduce references on match patterns (clippy::match_ref_pats) 2020-03-07 21:48:17 +01:00