From 92e88c4261a6996345eb287b551265d46142a5a3 Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Wed, 8 Oct 2025 07:53:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs(retention):=20add=20documen?= =?UTF-8?q?tation=20for=20the=20retention=20struct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add documentation for the `new` function --- src/retention.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/retention.rs b/src/retention.rs index b8532f9..d0732f2 100644 --- a/src/retention.rs +++ b/src/retention.rs @@ -19,7 +19,8 @@ impl Default for Retention { } impl Retention { - pub(crate) fn new(age: MessageAge, generate_label: bool) -> Self { + /// Create a new retention struct + pub fn new(age: MessageAge, generate_label: bool) -> Self { Retention { age, generate_label,