Run cargo fmt

This commit is contained in:
Joakim Frostegård 2022-04-04 12:49:35 +02:00
parent 9dfc3a82ad
commit c990521b92

View file

@ -124,11 +124,7 @@ impl axum::response::IntoResponse for AnnounceResponse {
self.write(&mut response_bytes).unwrap();
(
[("Content-type", "text/plain")],
response_bytes,
)
.into_response()
([("Content-type", "text/plain")], response_bytes).into_response()
}
}
@ -169,11 +165,7 @@ impl axum::response::IntoResponse for ScrapeResponse {
self.write(&mut response_bytes).unwrap();
(
[("Content-type", "text/plain")],
response_bytes,
)
.into_response()
([("Content-type", "text/plain")], response_bytes).into_response()
}
}
@ -212,11 +204,7 @@ impl axum::response::IntoResponse for FailureResponse {
self.write(&mut response_bytes).unwrap();
(
[("Content-type", "text/plain")],
response_bytes,
)
.into_response()
([("Content-type", "text/plain")], response_bytes).into_response()
}
}