diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2019-02-28 17:28:32 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-05-18 00:20:59 +0200 |
commit | 1d8984461395c37fdbcd59a0b9488b076084c89a (patch) | |
tree | b98795420280291c9dc2a9d56229b9af593f2bcb /bin/core/imag-store/src | |
parent | 51daf28509b913a8159ad3a097304645db7e263f (diff) |
Run 'cargo fix' for rust-2018
With this patch we move the codebase to Rust-2018.
The diff was generated by executing
cargo fix --all --all-features --edition
on the codebase.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'bin/core/imag-store/src')
-rw-r--r-- | bin/core/imag-store/src/create.rs | 2 | ||||
-rw-r--r-- | bin/core/imag-store/src/delete.rs | 2 | ||||
-rw-r--r-- | bin/core/imag-store/src/get.rs | 2 | ||||
-rw-r--r-- | bin/core/imag-store/src/main.rs | 14 | ||||
-rw-r--r-- | bin/core/imag-store/src/update.rs | 2 |
5 files changed, 11 insertions, 11 deletions
diff --git a/bin/core/imag-store/src/create.rs b/bin/core/imag-store/src/create.rs index 8b6cc2e2..dcb5c686 100644 --- a/bin/core/imag-store/src/create.rs +++ b/bin/core/imag-store/src/create.rs @@ -35,7 +35,7 @@ use libimagerror::trace::MapErrTrace; use libimagerror::exit::ExitUnwrap; use libimagutil::debug_result::*; -use util::build_toml_header; +use crate::util::build_toml_header; pub fn create(rt: &Runtime) { let scmd = rt.cli().subcommand_matches("create").unwrap(); diff --git a/bin/core/imag-store/src/delete.rs b/bin/core/imag-store/src/delete.rs index 50c73d97..c3a9a052 100644 --- a/bin/core/imag-store/src/delete.rs +++ b/bin/core/imag-store/src/delete.rs @@ -39,7 +39,7 @@ pub fn delete(rt: &Runtime) { #[cfg(test)] mod tests { - use create::create; + use crate::create::create; use super::delete; use std::path::PathBuf; diff --git a/bin/core/imag-store/src/get.rs b/bin/core/imag-store/src/get.rs index bf9a1eea..6885f594 100644 --- a/bin/core/imag-store/src/get.rs +++ b/bin/core/imag-store/src/get.rs @@ -24,7 +24,7 @@ use libimagerror::trace::MapErrTrace; use libimagerror::exit::ExitUnwrap; use libimagstore::storeid::StoreId; -use retrieve::print_entry; +use crate::retrieve::print_entry; pub fn get(rt: &Runtime) { let scmd = rt.cli().subcommand_matches("get").unwrap(); diff --git a/bin/core/imag-store/src/main.rs b/bin/core/imag-store/src/main.rs index 7c0c0f10..6ba6ad98 100644 --- a/bin/core/imag-store/src/main.rs +++ b/bin/core/imag-store/src/main.rs @@ -65,13 +65,13 @@ mod util; use std::ops::Deref; -use create::create; -use delete::delete; -use get::get; -use retrieve::retrieve; -use ui::build_ui; -use update::update; -use verify::verify; +use crate::create::create; +use crate::delete::delete; +use crate::get::get; +use crate::retrieve::retrieve; +use crate::ui::build_ui; +use crate::update::update; +use crate::verify::verify; fn main() { let version = make_imag_version!(); diff --git a/bin/core/imag-store/src/update.rs b/bin/core/imag-store/src/update.rs index c2687973..4ce5ac44 100644 --- a/bin/core/imag-store/src/update.rs +++ b/bin/core/imag-store/src/update.rs @@ -25,7 +25,7 @@ use libimagerror::trace::MapErrTrace; use libimagerror::exit::ExitUnwrap; use libimagstore::storeid::StoreId; -use util::build_toml_header; +use crate::util::build_toml_header; pub fn update(rt: &Runtime) { let scmd = rt.cli().subcommand_matches("update").unwrap(); |