Skip to content

Commit 4777249

Browse files
committed
refactor(lib): remove redundant field name
1 parent 67679d9 commit 4777249

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/proto/h2/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ where
486486
};
487487
// Clear send task
488488
self.executor
489-
.execute_h2_future(H2ClientFuture::Pipe { pipe: pipe });
489+
.execute_h2_future(H2ClientFuture::Pipe { pipe });
490490
}
491491
}
492492
}
@@ -559,7 +559,7 @@ where
559559

560560
let (pending, on_upgrade) = crate::upgrade::pending();
561561
let io = H2Upgraded {
562-
ping: ping,
562+
ping,
563563
send_stream: unsafe { UpgradedSendStream::new(send_stream) },
564564
recv_stream,
565565
buf: Bytes::new(),

src/server/conn/http2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ impl<E> Builder<E> {
114114
/// [`Http2ServerConnExec`]: crate::rt::bounds::Http2ServerConnExec
115115
pub fn new(exec: E) -> Self {
116116
Self {
117-
exec: exec,
117+
exec,
118118
timer: Time::Empty,
119119
h2_builder: Default::default(),
120120
}

0 commit comments

Comments
 (0)