mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-08-28 03:24:10 +00:00
chore: Clippy fixes
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user