1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Remove double must_use

This commit is contained in:
Quentin Gliech
2022-09-13 11:20:10 +02:00
parent 3c3f9aa920
commit f5715018a6

View File

@ -43,7 +43,6 @@ impl PostAuthAction {
PostAuthAction::ContinueCompatSsoLogin { data }
}
#[must_use]
pub fn go_next(&self) -> axum::response::Redirect {
match self {
Self::ContinueAuthorizationGrant { data } => ContinueAuthorizationGrant(*data).go(),
@ -186,7 +185,6 @@ impl Login {
self.post_auth_action.as_ref()
}
#[must_use]
pub fn go_next(&self) -> axum::response::Redirect {
match &self.post_auth_action {
Some(action) => action.go_next(),
@ -236,7 +234,6 @@ impl Reauth {
self.post_auth_action.as_ref()
}
#[must_use]
pub fn go_next(&self) -> axum::response::Redirect {
match &self.post_auth_action {
Some(action) => action.go_next(),
@ -297,7 +294,6 @@ impl Register {
self.post_auth_action.as_ref()
}
#[must_use]
pub fn go_next(&self) -> axum::response::Redirect {
match &self.post_auth_action {
Some(action) => action.go_next(),