Skip to content

Commit

Permalink
run clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
maxday committed Nov 7, 2023
1 parent b66da22 commit 4f36363
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async fn main() -> Result<(), Error> {

// no need to create a SQS Client for each incoming request, let's use a shared state
let handler_func_closure = |event: LambdaEvent<Value>| async move {
Result::<(), Error>::Ok(process_event(event, sqs_manager_ref).await?)
process_event(event, sqs_manager_ref).await
};
lambda_runtime::run(service_fn(handler_func_closure)).await?;
Ok(())
Expand Down

0 comments on commit 4f36363

Please sign in to comment.