From 77fc67c29b7d18f587e085d69bd6637251dd7c17 Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Mon, 24 Apr 2023 10:28:35 +0200 Subject: [PATCH] Silence clippy warning about a function being too long --- crates/handlers/src/oauth2/token.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/handlers/src/oauth2/token.rs b/crates/handlers/src/oauth2/token.rs index b42e7658..885deb4b 100644 --- a/crates/handlers/src/oauth2/token.rs +++ b/crates/handlers/src/oauth2/token.rs @@ -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,