chore: listen to clippy
This commit is contained in:
parent
823133c034
commit
974ca80298
7 changed files with 13 additions and 29 deletions
|
|
@ -20,7 +20,7 @@ impl Command {
|
|||
|
||||
match self {
|
||||
Self::Sync { username, devices } => {
|
||||
let user = store.get_user(&username).unwrap();
|
||||
let user = store.get_user(username).unwrap();
|
||||
store
|
||||
.update_device_sync_status(
|
||||
&user,
|
||||
|
|
@ -30,7 +30,7 @@ impl Command {
|
|||
.unwrap();
|
||||
}
|
||||
Self::Devices { username } => {
|
||||
let user = store.get_user(&username).unwrap();
|
||||
let user = store.get_user(username).unwrap();
|
||||
let devices = store.devices_for_user(&user).unwrap();
|
||||
|
||||
for device in devices {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue