Skip to content

Commit 4d14712

Browse files
sfacklerseanmonstar
authored andcommitted
fix(server): Remove unneeded 'static bound of Service on Connection (#1971)
1 parent 2269596 commit 4d14712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/conn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ where
663663

664664
impl<I, B, S, E> Future for Connection<I, S, E>
665665
where
666-
S: Service<Body, ResBody=B> + 'static,
666+
S: Service<Body, ResBody=B>,
667667
S::Error: Into<Box<dyn StdError + Send + Sync>>,
668668
I: AsyncRead + AsyncWrite + Unpin + 'static,
669669
B: Payload + 'static,

0 commit comments

Comments
 (0)