1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-27 02:37:42 +02:00

MSRV 1.68 (#328)

This commit is contained in:
Rob Ede
2023-09-16 00:30:38 +01:00
committed by GitHub
parent 75386f4a1d
commit aaedb9c625
31 changed files with 245 additions and 235 deletions

View File

@ -102,7 +102,7 @@ impl FromRequest for BearerAuth {
let bearer = req
.app_data::<Config>()
.map(|config| config.0.clone())
.unwrap_or_else(Default::default);
.unwrap_or_default();
AuthenticationError::new(bearer)
}),