Skip to content

Commit 6afee4e

Browse files
committed
style: apply nightly rustfmt formatting
1 parent bbd6773 commit 6afee4e

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

lambda-events/examples/comprehensive-builders.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn main() {
2525
.records(vec![])
2626
.other(serde_json::Map::new())
2727
.build();
28-
28+
2929
#[cfg(not(feature = "catch-all-fields"))]
3030
let _sqs_event = SqsEvent::builder().records(vec![]).build();
3131

lambda-events/examples/lambda-runtime-authorizer-builder.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333

3434
#[cfg(feature = "builders")]
3535
use aws_lambda_events::event::apigw::{
36-
ApiGatewayV2CustomAuthorizerSimpleResponse,
37-
ApiGatewayV2CustomAuthorizerV2Request,
36+
ApiGatewayV2CustomAuthorizerSimpleResponse, ApiGatewayV2CustomAuthorizerV2Request,
3837
};
3938
#[cfg(feature = "builders")]
4039
use lambda_runtime::{Error, LambdaEvent};

lambda-events/examples/lambda-runtime-sqs-batch-builder.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
// • Works seamlessly with lambda_runtime::LambdaEvent
3737

3838
#[cfg(feature = "builders")]
39-
use aws_lambda_events::event::sqs::{
40-
BatchItemFailure, SqsBatchResponse, SqsEvent,
41-
};
39+
use aws_lambda_events::event::sqs::{BatchItemFailure, SqsBatchResponse, SqsEvent};
4240
#[cfg(feature = "builders")]
4341
use lambda_runtime::{Error, LambdaEvent};
4442

@@ -119,9 +117,7 @@ fn main() {
119117
.build(),
120118
];
121119

122-
let response = SqsBatchResponse::builder()
123-
.batch_item_failures(failures)
124-
.build();
120+
let response = SqsBatchResponse::builder().batch_item_failures(failures).build();
125121

126122
println!(
127123
"✅ Built SQS batch response with {} failed items",

0 commit comments

Comments
 (0)