renet/examples
Alex Crawford ea4579d68a Clean up examples
These were flagged by `cargo clippy`:

    warning: you seem to be trying to use match for destructuring a
             single pattern. Consider using `if let`
    warning: called `.nth(0)` on a `std::iter::Iterator`, when `.next()`
             is equivalent
    warning: using `write!()` with a format string that ends in a single
             newline
    warning: useless conversion to the same type:
             `smoltcp::wire::Ipv4Address`
    warning: called `map(f)` on an `Option` value where `f` is a closure
             that returns the unit type `()`
    warning: returning the result of a `let` binding from a block
    warning: use of `unwrap_or` followed by a function call
2021-01-04 10:39:27 -08:00
..
benchmark.rs Clean up a couple of if-blocks 2020-12-28 22:27:24 -08:00
client.rs Use is_empty instead of length comparison 2020-12-27 15:18:51 -08:00
dhcp_client.rs Clean up examples 2021-01-04 10:39:27 -08:00
httpclient.rs Update to Rust 2018. Fixes #271 2020-12-27 17:54:56 +01:00
loopback.rs Clean up examples 2021-01-04 10:39:27 -08:00
multicast.rs Clean up examples 2021-01-04 10:39:27 -08:00
ping.rs Clean up examples 2021-01-04 10:39:27 -08:00
server.rs Clean up examples 2021-01-04 10:39:27 -08:00
tcpdump.rs Update to Rust 2018. Fixes #271 2020-12-27 17:54:56 +01:00
utils.rs Clean up examples 2021-01-04 10:39:27 -08:00