Skip to content

Commit 5c018d5

Browse files
Formatting
1 parent 4bc802f commit 5c018d5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lambda-runtime/src/requests.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use bytes::Bytes;
33
use http::{header::CONTENT_TYPE, Method, Request, Uri};
44
use lambda_runtime_api_client::{body::Body, build_request};
55
use serde::Serialize;
6-
use std::{fmt::Debug, marker::PhantomData, str::FromStr, time::Duration};
6+
use std::{fmt::Debug, marker::PhantomData, str::FromStr};
77
use tokio_stream::{Stream, StreamExt};
88

99
pub(crate) trait IntoRequest {
@@ -221,8 +221,10 @@ mod tests {
221221
#[tokio::test]
222222
async fn streaming_send_data_error_is_ignored() {
223223
use crate::StreamResponse;
224-
use std::sync::atomic::{AtomicBool, Ordering};
225-
use std::sync::Arc;
224+
use std::sync::{
225+
atomic::{AtomicBool, Ordering},
226+
Arc,
227+
};
226228

227229
// Track if a panic occurred in any spawned task
228230
let panicked = Arc::new(AtomicBool::new(false));

0 commit comments

Comments
 (0)