diff --git a/rar-common/src/database/options.rs b/rar-common/src/database/options.rs index 4327102..ccac607 100644 --- a/rar-common/src/database/options.rs +++ b/rar-common/src/database/options.rs @@ -1088,7 +1088,6 @@ impl OptStack { .unwrap_or((Level::None, STimeout::default())) } - pub fn to_opt(&self) -> Opt { let mut res = Opt::default(); let (final_behavior, final_add, final_sub) = self.get_final_path(); diff --git a/src/sr/pam/mod.rs b/src/sr/pam/mod.rs index c4169bc..75e68ec 100644 --- a/src/sr/pam/mod.rs +++ b/src/sr/pam/mod.rs @@ -16,11 +16,11 @@ use rar_common::{ use self::rpassword::Terminal; -#[allow(dead_code, reason ="This file is part of sudo-rs.")] +#[allow(dead_code, reason = "This file is part of sudo-rs.")] mod cutils; -#[allow(dead_code, reason ="This file is part of sudo-rs.")] +#[allow(dead_code, reason = "This file is part of sudo-rs.")] mod rpassword; -#[allow(dead_code, reason ="This file is part of sudo-rs.")] +#[allow(dead_code, reason = "This file is part of sudo-rs.")] mod securemem; #[cfg(not(test))]