Skip to content

Commit bbc53c8

Browse files
committed
fix pick
1 parent fd9a614 commit bbc53c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ohkami/src/response/headers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ impl Headers {
479479
/// SAFETY: `buf` has remaining capacity of at least `self.size`
480480
pub(crate) unsafe fn write_unchecked_to(&self, buf: &mut Vec<u8>) {
481481
for (i, v) in self.standard.iter() {
482-
let h = std::mem::transmute::<_, Header>(*i as u8); {
482+
let h = std::mem::transmute::<_, Header>(i as u8); {
483483
crate::push_unchecked!(buf <- h.as_bytes());
484484
crate::push_unchecked!(buf <- b": ");
485485
crate::push_unchecked!(buf <- v.as_bytes());

0 commit comments

Comments
 (0)