mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
Run cargo fmt
This commit is contained in:
parent
9dfc3a82ad
commit
c990521b92
1 changed files with 3 additions and 15 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue