From b045e3ec3577b4a64f47a265847d9fa711696736 Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Fri, 25 Feb 2022 14:15:51 +0100 Subject: [PATCH] change type --- src/utils/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/config.rs b/src/utils/config.rs index 3f13d910..40be00d8 100644 --- a/src/utils/config.rs +++ b/src/utils/config.rs @@ -3,7 +3,7 @@ use serde_yaml::{self}; use std::{fs::File, path::Path, process}; // use regex::Regex; -use crate::utils::{get_args, Messenger}; +use crate::utils::{get_args}; #[derive(Debug, Serialize, Deserialize, Clone)] pub struct Config { @@ -37,7 +37,7 @@ pub struct Mail { #[derive(Debug, Serialize, Deserialize, Clone)] pub struct Logging { pub log_to_file: bool, - pub backup_count: u32, + pub backup_count: usize, pub local_time: bool, pub log_path: String, pub log_level: String,