Skip to content

Commit 5c8a928

Browse files
byfnoelparksb
authored andcommitted
Run cargo format (#27)
1 parent 63d8d98 commit 5c8a928

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src-tauri/src/syndication.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ pub fn fetch_feed_items(link: &str, proxy: Option<&str>) -> Result<Vec<RawItem>>
5757
.map(atom_syndication::Content::value)
5858
.filter(std::option::Option::is_some)
5959
.map(|x| x.unwrap().to_string()),
60-
published_at: x.published().or(Some(x.updated())).map(|x| x.with_timezone(&Utc).fixed_offset()),
60+
published_at: x
61+
.published()
62+
.or(Some(x.updated()))
63+
.map(|x| x.with_timezone(&Utc).fixed_offset()),
6164
})
6265
.collect()),
6366
Feed::RSS(rss) => Ok(rss

0 commit comments

Comments
 (0)