fix a couple of lints
This commit is contained in:
parent
99f977d7df
commit
8366173eb1
3 changed files with 5 additions and 2 deletions
|
@ -257,10 +257,12 @@ impl Manifest {
|
|||
}
|
||||
|
||||
/// Return all loaded accounts. Order is not guarenteed.
|
||||
#[allow(dead_code)]
|
||||
pub fn get_all_loaded(&self) -> Vec<Arc<Mutex<SteamGuardAccount>>> {
|
||||
return self.accounts.values().cloned().into_iter().collect();
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn get_entry(
|
||||
&self,
|
||||
account_name: &String,
|
||||
|
@ -271,6 +273,7 @@ impl Manifest {
|
|||
.ok_or(ManifestAccountLoadError::MissingManifestEntry)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn get_entry_mut(
|
||||
&mut self,
|
||||
account_name: &String,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
mod ITwoFactorService;
|
||||
mod i_two_factor_service;
|
||||
mod login;
|
||||
mod phone_ajax;
|
||||
|
||||
pub use i_two_factor_service::*;
|
||||
pub use login::*;
|
||||
pub use phone_ajax::*;
|
||||
pub use ITwoFactorService::*;
|
||||
|
||||
use serde::{Deserialize, Deserializer};
|
||||
|
||||
|
|
Loading…
Reference in a new issue