From b6a2d9dba77cc7d5a59ee188ed63d20db4c6b171 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Thu, 9 Jun 2022 20:47:23 +0200 Subject: [PATCH] Use consistent todo comment casing --- axum/src/extract/host.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axum/src/extract/host.rs b/axum/src/extract/host.rs index de5a43c2..0878af25 100644 --- a/axum/src/extract/host.rs +++ b/axum/src/extract/host.rs @@ -26,7 +26,7 @@ where type Rejection = HostRejection; async fn from_request(req: &mut RequestParts) -> Result { - // todo: extract host from http::header::FORWARDED + // TODO: extract host from http::header::FORWARDED if let Some(host) = req .headers()