File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ use bytes::Bytes;
33use http:: { header:: CONTENT_TYPE , Method , Request , Uri } ;
44use lambda_runtime_api_client:: { body:: Body , build_request} ;
55use serde:: Serialize ;
6- use std:: { fmt:: Debug , marker:: PhantomData , str:: FromStr , time :: Duration } ;
6+ use std:: { fmt:: Debug , marker:: PhantomData , str:: FromStr } ;
77use tokio_stream:: { Stream , StreamExt } ;
88
99pub ( 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 ) ) ;
You can’t perform that action at this time.
0 commit comments