sim: mcuboot-sys: 2018 edition fix
Automatic migration to Rust 2018:
cargo fix --edition
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/sim/mcuboot-sys/src/c.rs b/sim/mcuboot-sys/src/c.rs
index d828607..dc73134 100644
--- a/sim/mcuboot-sys/src/c.rs
+++ b/sim/mcuboot-sys/src/c.rs
@@ -1,9 +1,9 @@
/// Interface wrappers to C API entering to the bootloader
-use area::AreaDesc;
+use crate::area::AreaDesc;
use simflash::SimFlashMap;
use libc;
-use api;
+use crate::api;
use std::sync::Mutex;
lazy_static! {
@@ -85,7 +85,7 @@
}
mod raw {
- use area::CAreaDesc;
+ use crate::area::CAreaDesc;
use libc;
extern "C" {