Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
warning: replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take` --> src/lib.rs:641:13 | 641 | mem::replace(self, Self::default()).into_inner() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::mem::take(self)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default = note: `#[warn(clippy::mem_replace_with_default)]` on by default warning: replacing a value of type `T` with `T::default()` is better expressed using `std::mem::take` --> src/lib.rs:1166:13 | 1166 | mem::replace(self, Self::default()).into_inner() | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `std::mem::take(self)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mem_replace_with_default
- Loading branch information