enable ignored_unit_patterns lint

This commit is contained in:
Charles Hall 2024-05-14 17:03:46 -07:00
parent 623824dc0c
commit b0f65913f3
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
5 changed files with 6 additions and 8 deletions

View file

@ -22,10 +22,7 @@ impl service::pusher::Data for KeyValueDatabase {
let mut key = sender.as_bytes().to_vec();
key.push(0xff);
key.extend_from_slice(ids.pushkey.as_bytes());
self.senderkey_pusher
.remove(&key)
.map(|_| ())
.map_err(Into::into)
self.senderkey_pusher.remove(&key).map_err(Into::into)
}
}
}