cargo fix

This commit is contained in:
Evan Almloff committed 2023-07-08 10:57:44 -07:00
1 parent 7c2bf4c5ed
commit 1e5c57dd16
3 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
use std::pin::Pin;
use http::{Request, Response};
use hyper::Body;
pub trait Layer: Send + Sync + 'static {
fn layer(&self, inner: BoxedService) -> BoxedService;
@@ -66,7 +66,7 @@ impl tower::Service<http::Request<hyper::body::Body>> for BoxedService {
fn poll_ready(
&mut self,
cx: &mut std::task::Context<'_>,
_cx: &mut std::task::Context<'_>,
) -> std::task::Poll<Result<(), Self::Error>> {
Ok(()).into()
}