Fix rustc / clippy warnings
This commit is contained in:
parent
a0fc5eba72
commit
756a41f22d
8 changed files with 46 additions and 54 deletions
|
@ -272,7 +272,7 @@ pub async fn get_key_changes_route(
|
|||
device_list_updates.extend(
|
||||
db.users
|
||||
.keys_changed(
|
||||
&sender_user.to_string(),
|
||||
sender_user.as_str(),
|
||||
body.from
|
||||
.parse()
|
||||
.map_err(|_| Error::BadRequest(ErrorKind::InvalidParam, "Invalid `from`."))?,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue