1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00

Run rustfmt

This commit is contained in:
Yuki Okushi 2020-03-12 05:48:57 +09:00
parent 7f1680ebcf
commit 8176d5e121
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1

View File

@ -776,10 +776,8 @@ where
if let Some(origin) =
inner.access_control_allow_origin(res.request().head())
{
res.headers_mut().insert(
header::ACCESS_CONTROL_ALLOW_ORIGIN,
origin,
);
res.headers_mut()
.insert(header::ACCESS_CONTROL_ALLOW_ORIGIN, origin);
};
if let Some(ref expose) = inner.expose_hdrs {