Skip to content

Commit e093d01

Browse files
committed
Apply cargo fmt formatting
1 parent cd4c621 commit e093d01

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

crates/trusted-server-adapter-fastly/src/main.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,13 @@ fn main() {
168168
finalize_response(&settings, geo_info.as_ref(), &mut response);
169169
let fastly_resp = compat::to_fastly_response_skeleton(response);
170170
let mut streaming_body = fastly_resp.stream_to_client();
171-
match stream_publisher_body(body, &mut streaming_body, &params, &settings, &integration_registry) {
171+
match stream_publisher_body(
172+
body,
173+
&mut streaming_body,
174+
&params,
175+
&settings,
176+
&integration_registry,
177+
) {
172178
Ok(()) => {
173179
if let Err(e) = streaming_body.finish() {
174180
log::error!("failed to finish streaming body: {e}");

crates/trusted-server-core/src/edge_cookie.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ pub fn get_ec_id(req: &Request<EdgeBody>) -> Result<Option<String>, Report<Trust
140140
Ok(None)
141141
}
142142

143-
144143
/// Gets or creates an EC ID from the request.
145144
///
146145
/// Attempts to retrieve an existing EC ID from:

0 commit comments

Comments
 (0)