diff options
| author | wcampbell <wcampbell1995@gmail.com> | 2020-10-13 18:00:59 -0400 |
|---|---|---|
| committer | wcampbell <wcampbell1995@gmail.com> | 2020-10-13 18:00:59 -0400 |
| commit | e6dc604e8b184b1224ae7acf58f06fa021ece82c (patch) | |
| tree | c60265fec4768889be85e695b582463188effadf /src/test/codegen/src-hash-algorithm | |
| parent | 058699d0a2fca02127761f014d0ecfce1c5541ec (diff) | |
| download | rust-e6dc604e8b184b1224ae7acf58f06fa021ece82c.tar.gz rust-e6dc604e8b184b1224ae7acf58f06fa021ece82c.zip | |
[net] clippy: match_like_matches_macro
warning: match expression looks like `matches!` macro
--> library/std/src/net/ip.rs:459:9
|
459 | / match self.octets() {
460 | | [169, 254, ..] => true,
461 | | _ => false,
462 | | }
| |_________^ help: try this: `matches!(self.octets(), [169, 254,
..])`
|
= note: `#[warn(clippy::match_like_matches_macro)]` on by default
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
Signed-off-by: wcampbell <wcampbell1995@gmail.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
