Update MSRV to 1.84.0

And appease clippy (`__CARGO_FIX_YOLO=1 cargo clippy --fix` plus some
manual type shuffling).
This commit is contained in:
Lambda 2025-02-02 11:30:07 +00:00
parent 5616510727
commit 175a62007d
20 changed files with 83 additions and 89 deletions

View file

@ -488,8 +488,8 @@ impl KeyValueDatabase {
for (userid, password) in self.userid_password.iter() {
let password = utils::string_from_bytes(&password);
let empty_hashed_password = password
.map_or(false, |password| {
let empty_hashed_password =
password.is_ok_and(|password| {
utils::verify_password("", password)
});