From e9be4219b63cbb4fdfe8de8779481568a69ceb8a Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 25 Aug 2024 17:35:02 +0200 Subject: style(treewide): Reformat --- src/storage/video_database/downloader.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/storage/video_database/downloader.rs') diff --git a/src/storage/video_database/downloader.rs b/src/storage/video_database/downloader.rs index c5490f3..ccd4ca9 100644 --- a/src/storage/video_database/downloader.rs +++ b/src/storage/video_database/downloader.rs @@ -43,7 +43,10 @@ pub async fn get_next_uncached_video(app: &App) -> Result> { } else { let base = result?; - let thumbnail_url = base.thumbnail_url.as_ref().map(|url| Url::parse(url).expect("Parsing this as url should always work")); + let thumbnail_url = base + .thumbnail_url + .as_ref() + .map(|url| Url::parse(url).expect("Parsing this as url should always work")); let status_change = if base.status_change == 1 { true -- cgit 1.4.1