chore: fix all clippy warnings across workspace
This commit is contained in:
@@ -320,6 +320,7 @@ pub struct FileBackedStore {
|
||||
identity_keys: Mutex<HashMap<String, Vec<u8>>>,
|
||||
endpoints: Mutex<HashMap<Vec<u8>, Vec<u8>>>,
|
||||
/// Device registry: identity_key -> Vec<(device_id, device_name, registered_at)>
|
||||
#[allow(clippy::type_complexity)]
|
||||
devices: Mutex<HashMap<Vec<u8>, Vec<(Vec<u8>, String, u64)>>>,
|
||||
}
|
||||
|
||||
@@ -958,6 +959,7 @@ impl Store for FileBackedStore {
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
#[allow(clippy::unwrap_used)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use tempfile::TempDir;
|
||||
|
||||
Reference in New Issue
Block a user