mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
axum: correct typo in append_allow_header (#3476)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user