crosvm/crosvm_plugin
Dmitry Torokhov 7c2238bd15 crosvm_plugin: be more Rusty
Instead of writing "if let Some(x) = ret.ok()" let's write more
idiomatic "if let Ok(x) = ret".

BUG=none
TEST=sudo cargo test --features plugin

Change-Id: Id8c4d0fd2a05783759b5699b65d2333b2a1a6776
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/956229
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-03-08 19:28:40 -08:00
..
src crosvm_plugin: be more Rusty 2018-03-08 19:28:40 -08:00
Cargo.toml plugin: add crosvm_net_get_config 2018-03-08 00:37:50 -08:00
crosvm.h plugin: add crosvm_net_get_config 2018-03-08 00:37:50 -08:00