chore: remove unnecessary debug

This commit is contained in:
Vladimir Rubin 2025-05-03 13:59:22 +03:00
parent 0bb27cd4ae
commit 3ab9006bdc
Signed by: vavakado
GPG key ID: CAB744727F36B524

View file

@ -114,13 +114,10 @@ impl Config {
.filter(|l| !l.is_empty()) .filter(|l| !l.is_empty())
.filter(|l| !l.starts_with('#')) .filter(|l| !l.starts_with('#'))
{ {
trace!("line: {line}");
if line.starts_with('[') && line.contains(']') { if line.starts_with('[') && line.contains(']') {
current_section = line[1..line.find(']').unwrap()].to_string(); current_section = line[1..line.find(']').unwrap()].to_string();
seen_keys.clear(); seen_keys.clear();
trace!("current_section: {current_section}");
} else if let Some((key, value)) = line.split_once('=') { } else if let Some((key, value)) = line.split_once('=') {
trace!("key: {key}, value: {value}");
let key_trimmed_string = key.trim().replace('"', ""); let key_trimmed_string = key.trim().replace('"', "");
let key_trimmed = key_trimmed_string.as_str(); let key_trimmed = key_trimmed_string.as_str();
@ -249,8 +246,6 @@ impl Config {
))); )));
} }
debug!("Seen: {:#?}", seen_keys);
Ok(config) Ok(config)
} }
} }