fix clippy default warning
general: apply clippy lints (#407)* general: update crates to 2021 edition. * general: apply clippy --fix * general: apply manual clippy lints * cargo fmt.
Silence `clippy::type_complexity` warning in tests
Replace if-let with `Ok(())` & `Err(err)` arms on result with `result.map(|_| ())`
Replace `Box::new(T::default())` with `Box::<T>::default()`
Replace `assert!(false, …)`/`assert!(false)` with `panic!(…)`/`panic!()`
Unify `assert_eq!(…)`/`assert_ne!(…)` to take args in order of `…!(actual, expected)`While there isn't an explicit convention for this in Rust the stdlib docs all use `assert_eq!(actual, expected)`
Unify `assert_eq!(…)`/`assert_ne!(…)` to take args in order of `…!(actual, expected)`While there isn't an explicit convention for this in Rust the stdlib docs all use `assert_eq!(actual, expected)`, making it a sort of implicit convention.
show more ...
Fix clippy for rust 1.66 (#369)
Adjust logging levels in mDNS (#366)Before this module would `info` log and every packet it received. It has been updated to match the `ice` module and use the trace level for incoming packets.
mdns: get_interface_addr_for_ip once per query (#275)
Move all to top level