Skip to content

Commit

Permalink
Small semantic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn committed May 18, 2021
1 parent fb38e9c commit 4b249d9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/integration_tests/tests/complex_tower_middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ async fn complex_tower_layers_work() {
#[tonic::async_trait]
impl test_server::Test for Svc {
async fn unary_call(&self, req: Request<Input>) -> Result<Response<Output>, Status> {
todo!()
unimplemented!()
}
}

Expand All @@ -36,15 +36,15 @@ struct MyServiceLayer {}

impl MyServiceLayer {
fn new() -> Self {
todo!()
unimplemented!()
}
}

impl<S> Layer<S> for MyServiceLayer {
type Service = MyService<S>;

fn layer(&self, inner: S) -> Self::Service {
todo!()
unimplemented!()
}
}

Expand All @@ -62,11 +62,11 @@ where
type Future = MyFuture<S::Future, ResBody>;

fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> {
todo!()
unimplemented!()
}

fn call(&mut self, req: R) -> Self::Future {
todo!()
unimplemented!()
}
}

Expand All @@ -82,7 +82,7 @@ where
type Output = Result<http::Response<MyBody<B>>, BoxError>;

fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
todo!()
unimplemented!()
}
}

Expand All @@ -101,13 +101,13 @@ where
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Option<Result<Self::Data, Self::Error>>> {
todo!()
unimplemented!()
}

fn poll_trailers(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<Option<http::HeaderMap>, Self::Error>> {
todo!()
unimplemented!()
}
}

0 comments on commit 4b249d9

Please sign in to comment.