Skip to content

Commit

Permalink
style: fix typo in code comment (#532)
Browse files Browse the repository at this point in the history
  • Loading branch information
graves501 committed Apr 26, 2022
1 parent d82aa29 commit bd30ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl HeaderValue {
/// assert_eq!(val, "hello");
/// ```
#[inline]
#[allow(unconditional_panic)] // required for the panic circumventon
#[allow(unconditional_panic)] // required for the panic circumvention
pub const fn from_static(src: &'static str) -> HeaderValue {
let bytes = src.as_bytes();
let mut i = 0;
Expand Down

0 comments on commit bd30ce0

Please sign in to comment.