diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:29:08 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 12:29:08 +0100 |
commit | b552a92bcc6ffd59b5b780b12cab4a25aa5812d2 (patch) | |
tree | e0d9c4fb17c14aba407d6fb165dda0922d4bd7c9 /src/pws.rs | |
parent | 048d4fa5529bf33e21f11873792cdacfcaf7793f (diff) | |
download | nitrokey-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.rs | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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`][]. /// |