1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 06:39:22 +02:00

fix impl assertions

This commit is contained in:
Rob Ede
2022-02-08 14:32:57 +00:00
parent 98faa61afe
commit ff4b2d251f
2 changed files with 9 additions and 10 deletions

View File

@ -110,9 +110,8 @@ mod tests {
use super::*;
use crate::body::to_bytes;
assert_impl_all!(BoxBody: MessageBody, fmt::Debug, Unpin);
assert_not_impl_any!(BoxBody: Send, Sync, Unpin);
assert_impl_all!(BoxBody: fmt::Debug, MessageBody, Unpin);
assert_not_impl_any!(BoxBody: Send, Sync);
#[actix_rt::test]
async fn nested_boxed_body() {