Merge topic 'clippy-fixes'

71310f17 clippy: fix `needless_borrow` lints
7123a735 clippy: fix `assert_eq!(bool, bool)` lints

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !172
24 jobs for master in 14 minutes and 37 seconds (queued for 40 seconds)
Status Name Job ID Coverage
  Prepare
passed prepare:cargo-cache-mindeps #6023645
build docker linux

00:01:32

passed prepare:cargo-cache-newest #6023637
build docker linux

00:01:12

passed prepare:git #6023652
build docker linux

00:04:22

 
  Build
passed build:cargo-clippy #6023661
build docker linux

00:00:42

passed build:cargo-clippy-features #6023673
build docker linux

00:00:58

passed build:cargo-mindeps #6023734
build docker linux

00:02:13

passed build:cargo-mindeps-features #6023810
build docker linux

00:02:56

passed build:cargo-minimum #6023688
build docker linux

00:02:21

passed build:cargo-minimum-features #6023751
build docker linux

00:05:19

passed build:cargo-nightly #6023717
build docker linux

00:01:43

passed build:cargo-nightly-features #6023797
build docker linux

00:04:08

passed build:cargo-stable #6023702
build docker linux

00:01:33

passed build:cargo-stable-features #6023767
build docker linux

00:03:42

passed build:cargo-tarpaulin-features #6023778
build docker linux

00:05:02

 
  Test
passed test:cargo-mindeps #6023852
build docker linux

00:02:51

passed test:cargo-mindeps-features #6023894
build docker linux

00:01:09

passed test:cargo-minimum #6023826
build docker linux

00:03:34

passed test:cargo-minimum-features #6023864
build docker linux

00:01:52

passed test:cargo-nightly #6023844
build docker linux

00:02:23

passed test:cargo-nightly-features #6023887
build docker linux

00:01:57

passed test:cargo-stable #6023835
build docker linux

00:02:51

passed test:cargo-stable-features #6023871
build docker linux

00:01:38

passed test:cargo-tarpaulin-features #6023880
docker linux privileged

00:04:06

87.36%
passed test:git-master #6023902
build docker linux

00:02:31