Skip to content

Commit

Permalink
address lints
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jun 9, 2023
1 parent 58c19b8 commit 1072d0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions actix-http/src/body/message_body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion actix-web/benches/responder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 1072d0d

Please sign in to comment.