Commit afabfcfe authored by David Brown's avatar David Brown Committed by David Brown
Browse files

sim: simflash: Minimal 2018

Automatic migration to Rust 2018.  This is the result of running

    cargo fix --edition

The resulting code is compatible with both Rust 2015 and 2018.  Change
the edition field in the Cargo.toml file as well to begin a more
complete migration.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent e24244b6
Loading
Loading
Loading
Loading
+1
Changes for sim/simflash/Cargo.toml: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
name = "simflash"
version = "0.1.0"
authors = ["David Brown <david.brown@linaro.org>"]
edition = "2018"

[dependencies]
error-chain = "0.12.0"
+1 −1
Changes for sim/simflash/src/lib.rs: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ use std::iter::Enumerate;
use std::path::Path;
use std::slice;
use std::collections::HashMap;
use pdump::HexDump;
use crate::pdump::HexDump;

error_chain! {
    errors {