diff --git a/axum/src/routing/method_routing.rs b/axum/src/routing/method_routing.rs index c4ad4a07..1ab10db5 100644 --- a/axum/src/routing/method_routing.rs +++ b/axum/src/routing/method_routing.rs @@ -1188,7 +1188,7 @@ fn append_allow_header(allow_header: &mut AllowHeader, method: &'static str) { } } else { #[cfg(debug_assertions)] - panic!("`allow_header` contained invalid uft-8. This should never happen") + panic!("`allow_header` contained invalid utf-8. This should never happen") } } }