From a5d01384ef632d03d6040c090529fca7e29d568b Mon Sep 17 00:00:00 2001 From: Jake Swenson Date: Mon, 2 Jan 2023 08:28:24 -0800 Subject: style(clippy+fmt): Format code and fix clippy issues --- src/models/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models/mod.rs') diff --git a/src/models/mod.rs b/src/models/mod.rs index 3f83a7d..3c9d12b 100644 --- a/src/models/mod.rs +++ b/src/models/mod.rs @@ -173,7 +173,7 @@ impl Properties { pub fn title(&self) -> Option { self.properties.values().find_map(|p| match p { PropertyValue::Title { title, .. } => { - Some(title.into_iter().map(|t| t.plain_text()).collect()) + Some(title.iter().map(|t| t.plain_text()).collect()) } _ => None, }) -- cgit v1.2.3