chore: Clippy fixes

This commit is contained in:
Ginger
2026-06-16 12:50:43 -04:00
parent 5a0e9303ee
commit e3aa13d2f6
+2
View File
@@ -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,