mirror of
https://github.com/solokeys/admin-app.git
synced 2026-06-20 13:16:17 -07:00
Fix clippy warnings
This commit is contained in:
+2
-2
@@ -259,8 +259,8 @@ where
|
||||
return Err(ConfigError::InvalidValue);
|
||||
}
|
||||
|
||||
let internal = &*store.ifs();
|
||||
let external = &*store.efs();
|
||||
let internal = store.ifs();
|
||||
let external = store.efs();
|
||||
|
||||
for migration in self.migrations {
|
||||
if migration.version > current_version && migration.version <= to_version {
|
||||
|
||||
@@ -48,6 +48,12 @@ use trussed_core::{
|
||||
/// ```
|
||||
pub struct ResetSignalAllocation(AtomicU8);
|
||||
|
||||
impl Default for ResetSignalAllocation {
|
||||
fn default() -> Self {
|
||||
Self::new()
|
||||
}
|
||||
}
|
||||
|
||||
impl ResetSignalAllocation {
|
||||
pub const fn new() -> Self {
|
||||
Self(AtomicU8::new(ResetSignal::None as u8))
|
||||
|
||||
Reference in New Issue
Block a user