From 563d6e0b20975d1f459f8bcbcb2022e39c040cf8 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Mon, 19 Feb 2024 16:34:25 +0000 Subject: [PATCH] docs(session): add session_ttl aliases --- actix-session/src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/actix-session/src/config.rs b/actix-session/src/config.rs index 68f9b7124..7b85a017d 100644 --- a/actix-session/src/config.rs +++ b/actix-session/src/config.rs @@ -131,6 +131,7 @@ impl PersistentSession { /// /// A persistent session can live more than the specified TTL if the TTL is extended. /// See [`session_ttl_extension_policy`](Self::session_ttl_extension_policy) for more details. + #[doc(alias = "max_age", alias = "max age", alias = "expires")] pub fn session_ttl(mut self, session_ttl: Duration) -> Self { self.session_ttl = session_ttl; self