diff --git a/client/src/images.rs b/client/src/images.rs index 88c1bf0..3113d5e 100644 --- a/client/src/images.rs +++ b/client/src/images.rs @@ -67,7 +67,7 @@ fn reset_video(event: Event) { // We (re)load the video here to force the poster image to be displayed (again) // // See https://stackoverflow.com/questions/14245644/html5-video-end-of-a-video-poster for details. - let _ = video.load(); + video.load(); } } } diff --git a/server/src/media.rs b/server/src/media.rs index 6867d5f..767f430 100644 --- a/server/src/media.rs +++ b/server/src/media.rs @@ -138,7 +138,6 @@ pub struct FileData { /// Find and return `FileData` for one of the files where the item with the specified `hash` was found. /// /// There may be more than one such file in the database; this function will pick one arbitrarily. -#[allow(clippy::eval_order_dependence)] async fn file_data(conn: &mut SqliteConnection, hash: &str) -> Result { if let (Some(path), Some(image)) = ( sqlx::query!("SELECT path FROM paths WHERE hash = ?1 LIMIT 1", hash)