From 2cfb62cd2049e373ba634d970e23da4eb6b44733 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Wed, 5 Jun 2024 20:52:13 -0400 Subject: [PATCH] Fix typo in use_cookie compile errors. --- src/use_cookie.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/use_cookie.rs b/src/use_cookie.rs index c02f589..4fe20d8 100644 --- a/src/use_cookie.rs +++ b/src/use_cookie.rs @@ -484,13 +484,13 @@ impl Default for UseCookieOptions { #[cfg(feature = "ssr")] { #[cfg(all(feature = "actix", feature = "axum"))] - compile_error!("You cannot enable only one of features \"actix\" and \"axum\" at the same time"); + compile_error!("You can only enable one of features \"actix\" and \"axum\" at the same time"); #[cfg(all(feature = "actix", feature = "spin"))] - compile_error!("You cannot enable only one of features \"actix\" and \"spin\" at the same time"); + compile_error!("You can only enable one of features \"actix\" and \"spin\" at the same time"); #[cfg(all(feature = "axum", feature = "spin"))] - compile_error!("You cannot enable only one of features \"axum\" and \"spin\" at the same time"); + compile_error!("You can only enable one of features \"axum\" and \"spin\" at the same time"); #[cfg(feature = "actix")] const COOKIE: http0_2::HeaderName = http0_2::header::COOKIE;