Skip to content

fix(awc): prevent panics in pool drop for h1 connections #468

fix(awc): prevent panics in pool drop for h1 connections

fix(awc): prevent panics in pool drop for h1 connections #468

GitHub Actions / clippy succeeded Aug 10, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (1)

actix-web/src/guard/mod.rs|525 col 36| error: the dbg! macro is intended as a debugging tool
--> actix-web/src/guard/mod.rs:525:36
|
525 | let guard = fn_guard(|ctx| dbg!(ctx.app_data::()) == Some(&TEST_VALUE));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#dbg_macro
= note: requested on the command line with -D clippy::dbg-macro
help: remove the invocation before committing it to a version control system
|
525 | let guard = fn_guard(|ctx| ctx.app_data::() == Some(&TEST_VALUE));
| ~~~~~~~~~~~~~~~~~~~~~