🐛 fix(retention): fix debug string formatting in retention struct

- change format macro to resolve cargo clippy warning
This commit is contained in:
Jeremiah Russell
2025-10-19 07:49:22 +01:00
committed by Jeremiah Russell
parent 051507856a
commit 8fbe12346f

View File

@@ -204,7 +204,7 @@ mod tests {
#[test] #[test]
fn test_retention_debug() { fn test_retention_debug() {
let retention = Retention::new(MessageAge::Days(30), true); let retention = Retention::new(MessageAge::Days(30), true);
let debug_str = format!("{:?}", retention); let debug_str = format!("{retention:?}");
assert!(debug_str.contains("Retention")); assert!(debug_str.contains("Retention"));
assert!(debug_str.contains("Days(30)")); assert!(debug_str.contains("Days(30)"));