removed unused imports
This commit is contained in:
parent
7c8e57bb09
commit
c17e11e542
|
|
@ -1,5 +1,4 @@
|
||||||
use core::time;
|
use std::{collections::HashMap};
|
||||||
use std::{collections::HashMap, time::Duration};
|
|
||||||
use serde::{Serialize, Deserialize};
|
use serde::{Serialize, Deserialize};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -98,22 +97,22 @@ impl Config {
|
||||||
"Chromium".to_owned()
|
"Chromium".to_owned()
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn default_metadata_fields() -> Vec<Field> {
|
fn default_metadata_fields() -> Vec<Field> {
|
||||||
vec![
|
vec![
|
||||||
Field::constructor("xesam:title", 40),
|
Field::constructor("xesam:title", 40),
|
||||||
Field::constructor("xesam:artist", 20)
|
Field::constructor("xesam:artist", 20)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
fn default_player_prefixes() -> HashMap<String, char> {
|
fn default_player_prefixes() -> HashMap<String, char> {
|
||||||
let mut out: HashMap<String, char> = HashMap::new();
|
let mut out: HashMap<String, char> = HashMap::new();
|
||||||
|
|
||||||
out.insert("Clementine".to_owned(), 'c');
|
out.insert("Clementine".to_owned(), 'c');
|
||||||
out.insert("Firefox".to_owned(), 'f');
|
out.insert("Firefox".to_owned(), 'f');
|
||||||
out.insert("Spotify".to_owned(), 's');
|
out.insert("Spotify".to_owned(), 's');
|
||||||
out.insert("default".to_owned(), '>');
|
out.insert("default".to_owned(), '>');
|
||||||
|
|
||||||
out
|
out
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue