summaryrefslogtreecommitdiff
path: root/src/token/extract
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-02-21 16:58:02 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-02-21 16:58:02 -0500
commit75aa3b41cbf1c41ce08f307a12a1f101cb357f29 (patch)
tree1adbd7ccf4e3d0218749c5ccf8b0eec039a61552 /src/token/extract
parent14322855767838a17058ffe3776b0887a13e5fa6 (diff)
Be a little more pedantic about constant str ref lifetimes
Diffstat (limited to 'src/token/extract')
-rw-r--r--src/token/extract/cookie.rs2
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)]