From b552a92bcc6ffd59b5b780b12cab4a25aa5812d2 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 16 Dec 2018 12:29:08 +0100 Subject: 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. --- src/device.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/device.rs') diff --git a/src/device.rs b/src/device.rs index cbc826e..86dcc58 100644 --- a/src/device.rs +++ b/src/device.rs @@ -1,10 +1,11 @@ -use auth::Authenticate; -use config::{Config, RawConfig}; use libc; use nitrokey_sys; -use otp::GenerateOtp; -use pws::GetPasswordSafe; -use util::{get_command_result, get_cstring, get_last_error, result_from_string, CommandError}; + +use crate::auth::Authenticate; +use crate::config::{Config, RawConfig}; +use crate::otp::GenerateOtp; +use crate::pws::GetPasswordSafe; +use crate::util::{get_command_result, get_cstring, get_last_error, result_from_string, CommandError}; /// Available Nitrokey models. #[derive(Debug, PartialEq)] -- cgit v1.2.1