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,