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

Silence clippy warning about a function being too long

This commit is contained in:
Quentin Gliech
2023-04-24 10:28:35 +02:00
parent a55976eeeb
commit 77fc67c29b

View File

@ -212,6 +212,7 @@ pub(crate) async fn post(
Ok((headers, Json(reply)))
}
#[allow(clippy::too_many_lines)] // TODO: refactor some parts out
async fn authorization_code_grant(
mut rng: &mut BoxRng,
clock: &impl Clock,