1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-20 01:08:10 +00:00

address lints

This commit is contained in:
Rob Ede 2023-06-09 15:15:09 +01:00
parent 58c19b817f
commit 1072d0dacf
No known key found for this signature in database
GPG key ID: 97C636207D3EF933
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()
})