Update mod.rs

This commit is contained in:
Rob Ede 2021-11-17 13:12:35 +00:00 committed by GitHub
parent 34d72a9acb
commit 58d0cfb8f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ mod tests {
} }
} }
/// AnyBody alias because rustc does not (can not?) infer the default type parameter.
type TestBody = AnyBody; type TestBody = AnyBody;
#[actix_rt::test] #[actix_rt::test]