diff options
author | 2023-01-02 08:28:24 -0800 | |
---|---|---|
committer | 2023-01-02 08:28:24 -0800 | |
commit | a5d01384ef632d03d6040c090529fca7e29d568b (patch) | |
tree | 279ebb6a7ea1f53695be0a19752e3c9458bbb892 /src/models/mod.rs | |
parent | 43fd57ab2f7fd0e478001d97be5e66156feaa4cc (diff) | |
download | notion-a5d01384ef632d03d6040c090529fca7e29d568b.tar.gz notion-a5d01384ef632d03d6040c090529fca7e29d568b.tar.zst notion-a5d01384ef632d03d6040c090529fca7e29d568b.zip |
style(clippy+fmt): Format code and fix clippy issues
Diffstat (limited to '')
-rw-r--r-- | src/models/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> { 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, }) |