Skip to content

Commit 1d939db

Browse files
[create-pull-request] automated change (#2822)
Co-authored-by: boquan-fang <[email protected]>
1 parent 88061ff commit 1d939db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

quic/s2n-quic-qns/src/tls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ pub mod s2n_tls {
251251
fn initialize_connection(
252252
&self,
253253
connection: &mut Connection,
254-
) -> Result<Option<Pin<Box<(dyn ConnectionFuture)>>>, Error> {
254+
) -> Result<Option<Pin<Box<dyn ConnectionFuture>>>, Error> {
255255
if let Some(ticket) = (*self.ticket_storage)
256256
.lock()
257257
.unwrap()

quic/s2n-quic-tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ pub mod resumption {
308308
fn initialize_connection(
309309
&self,
310310
connection: &mut Connection,
311-
) -> Result<Option<Pin<Box<(dyn ConnectionFuture)>>>, Error> {
311+
) -> Result<Option<Pin<Box<dyn ConnectionFuture>>>, Error> {
312312
if let Some(ticket) = (*self.ticket_storage).lock().unwrap().pop_back().as_deref() {
313313
connection.set_session_ticket(ticket)?;
314314
}

0 commit comments

Comments
 (0)