From 59552a5a72f0cc44dcfbc3c8e5524832319fc113 Mon Sep 17 00:00:00 2001 From: Blake Hildebrand Date: Sat, 22 May 2021 09:22:21 -0700 Subject: [PATCH] Fix rust format issue --- lambda-runtime/examples/shared_resource.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {