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
ci: Update clippy to 1.66 and fix new warnings
This commit is contained in:
@ -201,7 +201,7 @@ impl Header for WwwAuthenticate {
|
||||
}
|
||||
};
|
||||
|
||||
let params = params.into_iter().map(|(k, v)| format!(" {}={:?}", k, v));
|
||||
let params = params.into_iter().map(|(k, v)| format!(" {k}={v:?}"));
|
||||
let value: String = std::iter::once(scheme.to_owned()).chain(params).collect();
|
||||
let value = HeaderValue::from_str(&value).unwrap();
|
||||
values.extend(std::iter::once(value));
|
||||
|
Reference in New Issue
Block a user