Update to code to Rust 1.67
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -13,7 +13,7 @@ impl EntityManager<User> {
|
||||
F: FnOnce(User) -> User,
|
||||
{
|
||||
let user = match self.find_by_user_id(id)? {
|
||||
None => return new_error(format!("Failed to find user {:?}", id)),
|
||||
None => return new_error(format!("Failed to find user {id:?}")),
|
||||
Some(user) => user,
|
||||
};
|
||||
|
||||
@ -134,8 +134,7 @@ impl UsersSyncBackend for EntityManager<User> {
|
||||
let user = match self.find_by_user_id(id)? {
|
||||
None => {
|
||||
return new_error(format!(
|
||||
"Could not delete account {:?} because it was not found!",
|
||||
id
|
||||
"Could not delete account {id:?} because it was not found!"
|
||||
));
|
||||
}
|
||||
Some(s) => s,
|
||||
|
Reference in New Issue
Block a user