mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-05 03:08:36 +02:00
Fix clippy lints
This commit is contained in:
23 files changed
+163
-166
No files matched your search
@@ -143,8 +143,8 @@ impl Device {
|
||||
}
|
||||
|
||||
pub fn delete_all_by_user(user_uuid: &str, conn: &DbConn) -> EmptyResult {
|
||||
for device in Self::find_by_user(user_uuid, &conn) {
|
||||
device.delete(&conn)?;
|
||||
for device in Self::find_by_user(user_uuid, conn) {
|
||||
device.delete(conn)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user