mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
mem::take() can be used in place of mem::replace() when replacing with the default value, fixing a new clippy warning. BUG=b:197251702 TEST=bin/clippy # with rust-toolchain = 1.54.0 Change-Id: I7289515eece30b9e294046930aa863a1ceab4de4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3108616 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Allen Webb <allenwebb@google.com> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |