mirror of https://github.com/fafhrd91/actix-web
fix clippy
This commit is contained in:
parent
9122df9a97
commit
8050db5b65
|
@ -1027,7 +1027,8 @@ mod tests {
|
||||||
fn_service(|_req: Request| ready(Ok::<_, Error>(Response::ok())))
|
fn_service(|_req: Request| ready(Ok::<_, Error>(Response::ok())))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn pending_service() -> impl Service<Request, Response = Response<Body>, Error = Error> {
|
fn pending_service(
|
||||||
|
) -> impl Service<Request, Response = Response<Body>, Error = Error> {
|
||||||
struct PendingForever;
|
struct PendingForever;
|
||||||
impl futures_core::Stream for PendingForever {
|
impl futures_core::Stream for PendingForever {
|
||||||
type Item = Result<Bytes, Error>;
|
type Item = Result<Bytes, Error>;
|
||||||
|
|
Loading…
Reference in New Issue