From e3aa13d2f643539df169581f57bbcf641eb17630 Mon Sep 17 00:00:00 2001 From: Ginger Date: Tue, 9 Jun 2026 10:28:35 -0400 Subject: [PATCH] chore: Clippy fixes --- src/service/oauth/grant.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/service/oauth/grant.rs b/src/service/oauth/grant.rs index 67a25b299..d1dd8efc1 100644 --- a/src/service/oauth/grant.rs +++ b/src/service/oauth/grant.rs @@ -125,6 +125,7 @@ pub struct OAuthError { } impl OAuthError { + #[must_use] pub const fn invalid_request(error_description: &'static str) -> Self { Self { error: ErrorCode::InvalidRequest, @@ -132,6 +133,7 @@ pub const fn invalid_request(error_description: &'static str) -> Self { } } + #[must_use] pub const fn invalid_grant(error_description: &'static str) -> Self { Self { error: ErrorCode::InvalidGrant,