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.
|
/// Return all loaded accounts. Order is not guarenteed.
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn get_all_loaded(&self) -> Vec<Arc<Mutex<SteamGuardAccount>>> {
|
pub fn get_all_loaded(&self) -> Vec<Arc<Mutex<SteamGuardAccount>>> {
|
||||||
return self.accounts.values().cloned().into_iter().collect();
|
return self.accounts.values().cloned().into_iter().collect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn get_entry(
|
pub fn get_entry(
|
||||||
&self,
|
&self,
|
||||||
account_name: &String,
|
account_name: &String,
|
||||||
|
@ -271,6 +273,7 @@ impl Manifest {
|
||||||
.ok_or(ManifestAccountLoadError::MissingManifestEntry)
|
.ok_or(ManifestAccountLoadError::MissingManifestEntry)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub fn get_entry_mut(
|
pub fn get_entry_mut(
|
||||||
&mut self,
|
&mut self,
|
||||||
account_name: &String,
|
account_name: &String,
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
mod ITwoFactorService;
|
mod i_two_factor_service;
|
||||||
mod login;
|
mod login;
|
||||||
mod phone_ajax;
|
mod phone_ajax;
|
||||||
|
|
||||||
|
pub use i_two_factor_service::*;
|
||||||
pub use login::*;
|
pub use login::*;
|
||||||
pub use phone_ajax::*;
|
pub use phone_ajax::*;
|
||||||
pub use ITwoFactorService::*;
|
|
||||||
|
|
||||||
use serde::{Deserialize, Deserializer};
|
use serde::{Deserialize, Deserializer};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue