fix: stop dead_code rustc lint (#4070)

only happens without `--all-features` which is what `./run_clippy.sh`
uses.
This commit is contained in:
Joonas Koivunen
2023-04-25 18:07:04 +03:00
committed by GitHub
parent 78bbbccadb
commit 7f80230fd2

View File

@@ -1201,6 +1201,7 @@ async fn handler_404(_: Request<Body>) -> Result<Response<Body>, ApiError> {
)
}
#[cfg(feature = "testing")]
async fn post_tracing_event_handler(mut r: Request<Body>) -> Result<Response<Body>, ApiError> {
#[derive(Debug, serde::Deserialize)]
#[serde(rename_all = "lowercase")]