diff --git a/lambda-runtime/examples/shared_resource.rs b/lambda-runtime/examples/shared_resource.rs index fc7c15f0..64fb2e62 100644 --- a/lambda-runtime/examples/shared_resource.rs +++ b/lambda-runtime/examples/shared_resource.rs @@ -33,9 +33,7 @@ struct SharedClient { impl SharedClient { fn new(name: &'static str) -> Self { - Self { - name - } + Self { name } } fn response(&self, req_id: String, command: String) -> Response {