1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

address lints

This commit is contained in:
Rob Ede
2023-06-09 15:15:09 +01:00
parent 58c19b817f
commit 1072d0dacf
2 changed files with 2 additions and 1 deletions

View File

@ -555,6 +555,7 @@ mod tests {
};
}
#[allow(unused_allocation)] // triggered by `Box::new(()).size()`
#[actix_rt::test]
async fn boxing_equivalence() {
assert_eq!(().size(), BodySize::Sized(0));