]> git.lizzy.rs Git - rust.git/commit
ignore `&x | &y` in unnested_or_patterns
authorPeter Jaszkowiak <p.jaszkow@gmail.com>
Sat, 2 Apr 2022 04:36:30 +0000 (22:36 -0600)
committerPeter Jaszkowiak <p.jaszkow@gmail.com>
Sat, 2 Apr 2022 04:36:30 +0000 (22:36 -0600)
commitc70f1e0f8f3419f67dc31b5bbbc47db1e829128c
tree60050701ea295172feb4bfdfcf197e8217d9de5a
parent8ebe766695e66a97775e4992d3d08f74ce2a7270
ignore `&x | &y` in unnested_or_patterns

replacing it with `&(x | y)` is actually more characters
clippy_lints/src/unnested_or_patterns.rs
tests/ui/unnested_or_patterns.fixed
tests/ui/unnested_or_patterns.rs
tests/ui/unnested_or_patterns.stderr