aboutsummaryrefslogtreecommitdiff
path: root/src/models/mod.rs
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jake@jakeswenson.com> 2023-01-02 08:28:24 -0800
committerGravatar Jake Swenson <jake@jakeswenson.com> 2023-01-02 08:28:24 -0800
commita5d01384ef632d03d6040c090529fca7e29d568b (patch)
tree279ebb6a7ea1f53695be0a19752e3c9458bbb892 /src/models/mod.rs
parent43fd57ab2f7fd0e478001d97be5e66156feaa4cc (diff)
downloadnotion-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.rs2
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,
})
tr>2019-03-09miekg/dns to version 1.1.5 (#2662)Gravatar Miek Gieben 1-1/+1 2019-03-07plugin/health: remove ability to poll other plugins (#2547)Gravatar Miek Gieben 10-173/+18 2019-03-07Add *ready* plugin (#2616)Gravatar Miek Gieben 13-2/+409 2019-03-07Remove internal loop detection (#2647)Gravatar Miek Gieben 2-44/+2 2019-03-07plugin/errors: remove cLogger and eLogger (#2657)Gravatar Ruslan Drozhdzh 2-161/+92 2019-03-07Add deprecation notice for NO_RELOAD (#2643)Gravatar Xiao An 2-0/+2 2019-03-07- remove caddy event, It is now triggered directly by Caddy in the Start func...Gravatar Francois Tur 1-3/+0 2019-03-04Move *proxy* to external (#2651)Gravatar Yong Tang 39-1957/+53 2019-03-04Update README.md to remove the description of vendoring (#2650)Gravatar Yong Tang 1-8/+3 2019-03-04Update README.md to use go 1.12 (#2649)Gravatar Yong Tang 1-1/+1 2019-03-03Add `go mod` support (#2503)Gravatar Yong Tang 2198-891982/+223 2019-03-03fix typo in notes (#2648)Gravatar Miek Gieben 1-1/+1 2019-03-03Update to 1.12.x (#2646)Gravatar Yong Tang 1-1/+1 2019-03-03Add release notes into coredns repo (#2645)Gravatar Miek Gieben 36-3/+1874 2019-03-03up the version to 1.4.0 (#2642)v1.4.0Gravatar Miek Gieben 1-1/+1 2019-03-03make -f Makefile.doc (#2641)Gravatar Miek Gieben 4-8/+14 2019-03-02plugin/reload: add bug text about import (#2638)Gravatar Miek Gieben 1-0/+7 2019-03-01plugin/forward: check message Id when reading from upstream server (#2637)Gravatar Ruslan Drozhdzh 1-6/+13 2019-03-01Fix some misspells in comment (#2634)Gravatar JoeWrightss 2-2/+2 2019-02-27Regen man-pages (#2631)Gravatar Miek Gieben 18-84/+110 2019-02-27Fix error string should not be capitalized (#2608)Gravatar Nguyen Quang Huy 7-11/+11 2019-02-27Add .gitignore files for Eclipse (#2627)Gravatar Nguyen Van Duc 1-0/+3 2019-02-27Fix some minor typos (#2625)Gravatar tuanvcw 2-3/+3 2019-02-27Insert *~ when using emacs in .gitignore (#2623)Gravatar Nguyen Hai Truong 1-0/+1 2019-02-26Ignore DS_Store in file .gitignore (#2622)Gravatar Nguyen Hai Truong 1-1/+2 2019-02-25DoH: Fixing panic in case if there's no response (#2577)Gravatar Andrey Meshkov 1-0/+8