Missing derive

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

No files matched your search

+1 -1
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,
+1 -1
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;