Missing derive

Signed-off-by: Serial <69764315+Serial-ATA@users.noreply.github.com>
This commit is contained in:
Serial 2022-03-22 18:05:39 -04:00
parent f6edb983d3
commit c51de47696
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ pub struct FileMetadata {
pub duration: u32,
}
#[derive(Default)]
#[derive(Default, PartialEq)]
pub struct Metadata {
pub title: String,
pub artist: String,

View File

@ -6,7 +6,7 @@ use crate::db;
* GPLv3 license.
*
**/
use lofty::{Accessor, ItemKey, Probe};
use lofty::{Accessor, ItemKey};
use regex::Regex;
use std::path::Path;
use substring::Substring;