switched from Duration struct to u64
This commit is contained in:
1 parent
3722cd364d
commit
01bd29d021
2 files changed
+5
-3
No files matched your search
@@ -58,13 +58,13 @@ pub struct Config {
|
||||
pub rating_icons: Rating,
|
||||
pub metadata_fields: Vec<Field>,
|
||||
pub player_prefixes: HashMap<String, char>,
|
||||
pub update_delay: Duration,
|
||||
pub update_delay: u64,
|
||||
}
|
||||
|
||||
impl Default for Config {
|
||||
fn default() -> Self {
|
||||
Config {
|
||||
update_delay: time::Duration::from_millis(300),
|
||||
update_delay: 300_u64,
|
||||
metadata_separator: "|".to_owned(),
|
||||
array_separator: '+',
|
||||
hide_output: true,
|
||||
|
||||