From ee930bbabb5b42912b5f6ae46a1bf2834d97a12e Mon Sep 17 00:00:00 2001 From: Rakshith Ravi Date: Sat, 27 Jan 2024 03:35:29 +0530 Subject: [PATCH] Fixed typo --- src/use_cookie.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/use_cookie.rs b/src/use_cookie.rs index 5745ab7..1cec388 100644 --- a/src/use_cookie.rs +++ b/src/use_cookie.rs @@ -46,9 +46,9 @@ pub fn use_cookie(cookie_name: &str) -> Option> { use leptos::expect_context; #[cfg(feature = "actix")] - const COOKIE: http0_2::HeaderValue = http0_2::header::COOKIE; + const COOKIE: http0_2::HeaderName = http0_2::header::COOKIE; #[cfg(feature = "axum")] - const COOKIE: http1::HeaderValue = http1::header::COOKIE; + const COOKIE: http1::HeaderName = http1::header::COOKIE; #[cfg(feature = "actix")] type HeaderValue = http0_2::HeaderValue;