Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "irrefutable
while let
pattern" warning
``` warning: irrefutable `while let` pattern --> examples/arp_packet.rs:61:11 | 61 | while let buf = receiver.next().unwrap() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this pattern will always match, so the loop will never exit = help: consider instead using a `loop { ... }` with a `let` inside it = note: `#[warn(irrefutable_let_patterns)]` on by default ```
- Loading branch information