Skip to content

Commit

Permalink
chore(server): Remove redundant bound to connectinfo (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Nov 5, 2024
1 parent 5e9d520 commit fe66c8c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ impl<L> Server<L> {
Into<crate::BoxError> + Send + 'static,
I: Stream<Item = Result<IO, IE>>,
IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static,
IO::ConnectInfo: Clone + Send + Sync + 'static,
IE: Into<crate::BoxError>,
F: Future<Output = ()>,
ResBody: http_body::Body<Data = Bytes> + Send + 'static,
Expand Down Expand Up @@ -844,7 +843,6 @@ impl<L> Router<L> {
where
I: Stream<Item = Result<IO, IE>>,
IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static,
IO::ConnectInfo: Clone + Send + Sync + 'static,
IE: Into<crate::BoxError>,
L: Layer<Routes>,
L::Service:
Expand Down Expand Up @@ -880,7 +878,6 @@ impl<L> Router<L> {
where
I: Stream<Item = Result<IO, IE>>,
IO: AsyncRead + AsyncWrite + Connected + Unpin + Send + 'static,
IO::ConnectInfo: Clone + Send + Sync + 'static,
IE: Into<crate::BoxError>,
F: Future<Output = ()>,
L: Layer<Routes>,
Expand Down

0 comments on commit fe66c8c

Please sign in to comment.