You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Upgrade Rust to 1.72.0
Fixes new clippy errors and upgrade other tools
This commit is contained in:
@ -61,7 +61,7 @@ impl CorsLayerExt for CorsLayer {
|
||||
H: IntoIterator<Item = HeaderName>,
|
||||
{
|
||||
let base = PROPAGATOR_HEADERS.get().cloned().unwrap_or_default();
|
||||
let headers: Vec<_> = headers.into_iter().chain(base.into_iter()).collect();
|
||||
let headers: Vec<_> = headers.into_iter().chain(base).collect();
|
||||
self.allow_headers(headers)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user