summaryrefslogtreecommitdiff
path: root/src/pws.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-16 12:29:08 +0100
committerRobin Krahl <robin.krahl@ireas.org>2018-12-16 12:29:08 +0100
commitb552a92bcc6ffd59b5b780b12cab4a25aa5812d2 (patch)
treee0d9c4fb17c14aba407d6fb165dda0922d4bd7c9 /src/pws.rs
parent048d4fa5529bf33e21f11873792cdacfcaf7793f (diff)
downloadnitrokey-rs-b552a92bcc6ffd59b5b780b12cab4a25aa5812d2.tar.gz
nitrokey-rs-b552a92bcc6ffd59b5b780b12cab4a25aa5812d2.tar.bz2
Use the crate:: path qualifier for modules
This patch changes use declarations for modules within this crate to use the crate:: path qualifier. This will be mandatory in Rust edition 2018.
Diffstat (limited to 'src/pws.rs')
-rw-r--r--src/pws.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pws.rs b/src/pws.rs
index d73f44c..c95b63b 100644
--- a/src/pws.rs
+++ b/src/pws.rs
@@ -1,7 +1,8 @@
-use device::{Device, DeviceWrapper, Pro, Storage};
use libc;
use nitrokey_sys;
-use util::{get_command_result, get_cstring, get_last_error, result_from_string, CommandError};
+
+use crate::device::{Device, DeviceWrapper, Pro, Storage};
+use crate::util::{get_command_result, get_cstring, get_last_error, result_from_string, CommandError};
/// The number of slots in a [`PasswordSafe`][].
///