Skip to content

Commit

Permalink
Set allow(dead_code) on get_attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Cattermole <[email protected]>
  • Loading branch information
adam-cattermole committed Aug 9, 2024
1 parent 40ecfaf commit d044a3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/attribute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ impl Attribute for DateTime<FixedOffset> {
}
}

#[allow(dead_code)]
pub fn get_attribute<T>(f: &Filter, attr: &str) -> Result<T, String>
where
T: Attribute,
Expand Down

0 comments on commit d044a3e

Please sign in to comment.