Skip to content

Commit 2abe13d

Browse files
fmt remove newlines between and after if branches
1 parent c5d72ab commit 2abe13d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/middleware/log_request.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ impl Handler for LogRequests {
4747
status = response_code,
4848
metadata_length = metadata_length,
4949
);
50-
5150
} else {
5251
print!(
5352
"at={level} method={method} path=\"{path}\" \
@@ -62,10 +61,8 @@ impl Handler for LogRequests {
6261
request_id = request_header(req, "X-Request-Id"),
6362
status = response_code,
6463
);
65-
6664
}
6765

68-
6966
if let Err(ref e) = res {
7067
print!(" error=\"{}\"", e.description());
7168
}

0 commit comments

Comments
 (0)