From b33401043b512f2538079ea9ee618b09deffe0d5 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 22 Aug 2024 20:27:30 +0200 Subject: refactor(storage/getters): Inline an Option re-creation with `map` --- src/storage/video_database/getters.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/storage') diff --git a/src/storage/video_database/getters.rs b/src/storage/video_database/getters.rs index b912276..176ebbb 100644 --- a/src/storage/video_database/getters.rs +++ b/src/storage/video_database/getters.rs @@ -122,11 +122,6 @@ pub async fn get_videos( let real_videos: Vec