Unverified Commit b1cd730d authored by Niklas Adolfsson's avatar Niklas Adolfsson Committed by GitHub
Browse files

Update http-server/src/server.rs

parent 5685da9d
Pipeline #207812 canceled with stages
in 7 seconds
......@@ -598,7 +598,6 @@ impl<L: Logger> hyper::service::Service<hyper::Request<hyper::Body>> for TowerSe
fn call(&mut self, request: hyper::Request<hyper::Body>) -> Self::Future {
let data = self.inner.clone();
// Note that `handle_request` will never return error.
// The dummy error is set in place to satisfy the server's trait bounds regarding the
// `tower::ServiceBuilder` and the error will never be mapped.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment