From 541ccab07cf667580294aca18081b50fe0fae1e6 Mon Sep 17 00:00:00 2001 From: SkyfallWasTaken Date: Mon, 1 Jul 2024 19:13:42 +0100 Subject: [PATCH] Add reference to appease the compiler --- src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format.rs b/src/format.rs index 0559ffe..e59b42a 100644 --- a/src/format.rs +++ b/src/format.rs @@ -73,7 +73,7 @@ mod format_new_tests { }; assert_eq!( - format_new_item(item), + format_new_item(&item), indoc! {" *New item added:* Test *Description:* Lorem ipsum