mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 00:59:22 -05:00
Fix typo in use_cookie compile errors.
This commit is contained in:
parent
3c7f2d9d28
commit
2cfb62cd20
1 changed files with 3 additions and 3 deletions
|
@ -484,13 +484,13 @@ impl<T, Err> Default for UseCookieOptions<T, Err> {
|
||||||
#[cfg(feature = "ssr")]
|
#[cfg(feature = "ssr")]
|
||||||
{
|
{
|
||||||
#[cfg(all(feature = "actix", feature = "axum"))]
|
#[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"))]
|
#[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"))]
|
#[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")]
|
#[cfg(feature = "actix")]
|
||||||
const COOKIE: http0_2::HeaderName = http0_2::header::COOKIE;
|
const COOKIE: http0_2::HeaderName = http0_2::header::COOKIE;
|
||||||
|
|
Loading…
Add table
Reference in a new issue