1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

axum-utils: remove an unnecessary ?Sized bound

This commit is contained in:
Quentin Gliech
2023-01-27 10:30:59 +01:00
parent 6ad8b82a35
commit 4d53e210b3

View File

@@ -74,7 +74,7 @@ pub enum Credentials {
impl Credentials {
pub async fn fetch<E>(
&self,
repo: &mut (impl RepositoryAccess<Error = E> + ?Sized),
repo: &mut impl RepositoryAccess<Error = E>,
) -> Result<Option<Client>, E> {
let client_id = match self {
Credentials::None { client_id }