switched from Duration struct to u64

This commit is contained in:
djaidjai committed 2023-05-10 14:39:36 +02:00
1 parent 3722cd364d
commit 01bd29d021
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -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,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.