1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-19 04:15:38 +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));

View File

@@ -87,7 +87,7 @@ fn future_responder(c: &mut Criterion) {
let start = Instant::now();
let _res = rt.block_on(async { futs.await });
let _res = rt.block_on(futs);
start.elapsed()
})