removed debugging statement

This commit is contained in:
djaidjai committed 2023-05-06 14:09:23 +02:00
1 parent f87356c859
commit 914d417a8d
2 files changed
+5 -3

No files matched your search

+5 -2
View File
@@ -20,9 +20,12 @@ fn handle_signal(data: &Data, pf: &PlayerFinder) {
} }
} }
//todo: load different config giles depending on CLI argument
//so i can specify 3 files to use with my polybar config
fn main() { fn main() {
dotenvy::dotenv().expect("Failed to read .env file"); //dotenvy::dotenv().expect("Failed to read .env file");
std::env::set_var("RUST_LOG", "debug"); std::env::set_var("RUST_LOG", "error");
if let Err(e) = env_logger::init() { if let Err(e) = env_logger::init() {
panic!("{}", e); panic!("{}", e);
} }
-1
View File
@@ -12,7 +12,6 @@ fn cutoff(fields: &Vec<Field>, brk: char, strings: &mut HashMap<String, String>)
let mut b = a.unwrap().clone(); let mut b = a.unwrap().clone();
b.truncate(field.num_chars as usize); b.truncate(field.num_chars as usize);
b.push(brk); b.push(brk);
println!("{}", b);
strings.insert(field.field.clone(), b); strings.insert(field.field.clone(), b);
} }
} }
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.