crosvm/kvm
Zach Reizner 506105dc0d use SharedMemory::{named, anon} to replace ::new
The new constructors are shorter and omit the bare `None` in the `anon`
call sites which gave no clues to the reader what the effect of that
`None` was. This should improve readability.

TEST=./build_test
BUG=None

Change-Id: I2e34e7df9a4ccc5da50edf4e963a6a42e3d84b22
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1797188
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
2019-09-11 09:34:12 +00:00
..
src edition: Eliminate blocks superseded by NLL 2019-04-17 17:22:57 -07:00
tests use SharedMemory::{named, anon} to replace ::new 2019-09-11 09:34:12 +00:00
Cargo.toml cargo: Sort all dependency lists in Cargo.toml 2019-04-09 01:55:14 -07:00