chore: bump rust

and fix new lints that come with it
This commit is contained in:
Matthias Ahouansou
2024-05-05 13:11:44 +01:00
parent 79c4bb17ca
commit 256dae983b
21 changed files with 43 additions and 46 deletions

View File

@@ -53,7 +53,7 @@ pub async fn update_device_route(
.get_device_metadata(sender_user, &body.device_id)?
.ok_or(Error::BadRequest(ErrorKind::NotFound, "Device not found."))?;
device.display_name = body.display_name.clone();
device.display_name.clone_from(&body.display_name);
services()
.users