Skip to content

Commit

Permalink
fix: stop dead_code rustc lint (#4070)
Browse files Browse the repository at this point in the history
only happens without `--all-features` which is what `./run_clippy.sh`
uses.
  • Loading branch information
koivunej committed Apr 25, 2023
1 parent 78bbbcc commit 7f80230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pageserver/src/http/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 7f80230

Please sign in to comment.