1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

Upgrade Rust to 1.72.0

Fixes new clippy errors and upgrade other tools
This commit is contained in:
Quentin Gliech
2023-08-28 17:40:49 +02:00
parent d9a12de8a3
commit 17e28f56c1
15 changed files with 38 additions and 29 deletions

View File

@ -109,7 +109,7 @@ impl OAuth2SessionMutations {
// XXX: this might not be the right semantic, but it's the best we
// can do for now, since we're not explicitly storing devices for OAuth2
// sessions.
for scope in session.scope.iter() {
for scope in &*session.scope {
if let Some(device) = Device::from_scope_token(scope) {
// Schedule a job to delete the device.
repo.job()