diff --git a/actix-http/src/body/mod.rs b/actix-http/src/body/mod.rs index 439a4355e..724e20597 100644 --- a/actix-http/src/body/mod.rs +++ b/actix-http/src/body/mod.rs @@ -86,6 +86,7 @@ mod tests { } } + /// AnyBody alias because rustc does not (can not?) infer the default type parameter. type TestBody = AnyBody; #[actix_rt::test]