Fix clippy warnings

This commit is contained in:
Sosthène Guédon
2025-10-06 17:51:05 +02:00
parent 8693599e14
commit 2b3f758016
2 changed files with 8 additions and 2 deletions
+2 -2
View File
@@ -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 {
+6
View File
@@ -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))