Skip to content

Commit c212e82

Browse files
committed
fix: fmt
1 parent eb70fe9 commit c212e82

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

bottlecap/src/lifecycle/listener.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ impl Listener {
124124
) -> http::Result<hyper_migration::HttpResponse> {
125125
debug!("Received start invocation request");
126126
let (parts, body) = req.into_parts();
127-
let hyper_migration::Body::Single(body_bytes) = body else { unimplemented!() };
127+
let hyper_migration::Body::Single(body_bytes) = body else {
128+
unimplemented!()
129+
};
128130
match body_bytes.collect().await {
129131
Ok(b) => {
130132
let body = b.to_bytes().to_vec();

bottlecap/src/telemetry/listener.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ impl TelemetryListener {
8282
req: hyper_migration::HttpRequest,
8383
event_bus: Sender<TelemetryEvent>,
8484
) -> Result<hyper_migration::HttpResponse, hyper::Error> {
85-
let hyper_migration::Body::Single(body_bytes) = req.into_body() else { unimplemented!() };
85+
let hyper_migration::Body::Single(body_bytes) = req.into_body() else {
86+
unimplemented!()
87+
};
8688
let body = match body_bytes.collect().await {
8789
Ok(body_bytes_collected) => body_bytes_collected.to_bytes().to_vec(),
8890
Err(e) => {

0 commit comments

Comments
 (0)