commit | 2b13024f5f2d0e3fd86f79c1d83542f350689393 | [log] [tgz] |
---|---|---|
author | David Drysdale <[email protected]> | Wed May 29 10:29:32 2024 +0100 |
committer | David Drysdale <[email protected]> | Tue Jun 04 11:33:54 2024 +0000 |
tree | 3ebf09b1e743675ab1c92ded21499e6fd06bcf31 | |
parent | 7014e3b2fa40da7d5d28609253ca87cdb7ed23b1 [diff] |
Enable Clippy and fix warnings - Drop unnecessary ampersands - Use `.is_empty()` rather than `.len()` comparisons - Don't `use` top-level imports - Constants automatically have the `'static` lifetime - Use `matches!` macro - Don't cast `as` the same type - Drop unnecessary `return` - Drop unnecessary 1-arg closure in `.map()` - Elide unncessary lifetimes Bug: 342362349 Test: build Change-Id: I59c55d41a770a912a74eebf0ef6f3b317c381c2a