diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2025-02-21 16:58:02 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2025-02-21 16:58:02 -0500 |
| commit | 75aa3b41cbf1c41ce08f307a12a1f101cb357f29 (patch) | |
| tree | 1adbd7ccf4e3d0218749c5ccf8b0eec039a61552 | |
| parent | 14322855767838a17058ffe3776b0887a13e5fa6 (diff) | |
Be a little more pedantic about constant str ref lifetimes
| -rw-r--r-- | src/token/extract/cookie.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)] |
