1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-24 23:01:05 +03:00

Add missing clippy lints in mas-axum-utils

This commit is contained in:
Quentin Gliech
2022-08-08 09:55:19 +02:00
parent c1ed726dc8
commit d00bf6a2d2
5 changed files with 22 additions and 10 deletions

View File

@@ -62,8 +62,13 @@ impl SessionInfo {
}
pub trait SessionInfoExt {
#[must_use]
fn session_info(self) -> (SessionInfo, Self);
#[must_use]
fn update_session_info(self, info: &SessionInfo) -> Self;
#[must_use]
fn set_session(self, session: &BrowserSession<PostgresqlBackend>) -> Self
where
Self: Sized,