From d044a3e1f5c5aac6af5678f08fab8316020960dd Mon Sep 17 00:00:00 2001 From: Adam Cattermole Date: Fri, 9 Aug 2024 15:18:02 +0100 Subject: [PATCH] Set allow(dead_code) on get_attribute Signed-off-by: Adam Cattermole --- src/attribute.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/attribute.rs b/src/attribute.rs index 9d3a3511..a5853a9f 100644 --- a/src/attribute.rs +++ b/src/attribute.rs @@ -104,6 +104,7 @@ impl Attribute for DateTime { } } +#[allow(dead_code)] pub fn get_attribute(f: &Filter, attr: &str) -> Result where T: Attribute,