mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-19 04:15:38 +02:00
address lints
This commit is contained in:
@@ -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));
|
||||
|
@@ -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()
|
||||
})
|
||||
|
Reference in New Issue
Block a user