From 75aa3b41cbf1c41ce08f307a12a1f101cb357f29 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 21 Feb 2025 16:58:02 -0500 Subject: Be a little more pedantic about constant str ref lifetimes --- src/token/extract/cookie.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/token/extract/cookie.rs') diff --git a/src/token/extract/cookie.rs b/src/token/extract/cookie.rs index df03aea..a8e15d4 100644 --- a/src/token/extract/cookie.rs +++ b/src/token/extract/cookie.rs @@ -25,7 +25,7 @@ impl fmt::Debug for Identity { } impl Identity { - const COOKIE_NAME: &str = "identity"; + const COOKIE_NAME: &'static str = "identity"; // Creates a new, unpopulated identity token store. #[cfg(test)] -- cgit v1.2.3