about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-12-09 13:38:12 -0800
committerGitHub <noreply@github.com>2020-12-09 13:38:12 -0800
commitd95948c6d36472ee7f0d7cd2fa085f296a35eb76 (patch)
tree4d1ba57e9c9198781db9eb67345078420e0b5346 /src/test/codegen
parentc16d52db7778fba1c8b6c07b06510cfd6c32ae4f (diff)
parent20f8538d1fb52a7e92e1bd7c731d213ad393eec8 (diff)
downloadrust-d95948c6d36472ee7f0d7cd2fa085f296a35eb76.tar.gz
rust-d95948c6d36472ee7f0d7cd2fa085f296a35eb76.zip
Rollup merge of #79732 - matthiaskrgr:cl12ppy, r=Dylan-DPC
minor stylistic clippy cleanups

simplify if let Some(_) = x  to  if x.is_some()  (clippy::redundant_pattern_matching)
don't create owned values for comparison (clippy::cmp_owned)
use .contains() or .any() instead of find(x).is_some() (clippy::search_is_some)
don't wrap code block in Ok()  (clipppy::unit_arg)
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions