From bd30ce0b1c98a3189d370a3fd7b34d4ecbd589d9 Mon Sep 17 00:00:00 2001 From: graves501 Date: Wed, 27 Apr 2022 00:44:47 +0200 Subject: [PATCH] style: fix typo in code comment (#532) --- src/header/value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/value.rs b/src/header/value.rs index 3ebb8451..bf05f16f 100644 --- a/src/header/value.rs +++ b/src/header/value.rs @@ -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;