Skip to content

Commit 0280da0

Browse files
authored
Fix rust format issue (#330)
1 parent 53397cd commit 0280da0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lambda-runtime/examples/shared_resource.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ struct SharedClient {
3333

3434
impl SharedClient {
3535
fn new(name: &'static str) -> Self {
36-
Self {
37-
name
38-
}
36+
Self { name }
3937
}
4038

4139
fn response(&self, req_id: String, command: String) -> Response {

0 commit comments

Comments
 (0)