Code cleanup
Rust Build / Check (pull_request) Successful in 26s
Rust Build / Rustfmt (pull_request) Successful in 34s
Rust Build / build (pull_request) Successful in 28s
Rust Build / Clippy (pull_request) Successful in 44s
Rust Build / Test Suite (pull_request) Successful in 38s

This commit is contained in:
2026-06-06 14:01:25 -04:00
parent 1b8fde6da3
commit ba15a94e40
+1 -2
View File
@@ -46,9 +46,8 @@ impl NumberParser {
numbers: Vec<textsender_models::contact::Contact>,
filename: &str,
) {
// let filename = String::from("numbers.json");
match serde_json::to_string(&numbers) {
Ok(json_string) => match std::fs::write(&filename, json_string) {
Ok(json_string) => match std::fs::write(filename, json_string) {
Ok(_) => {
println!("Saved to: {filename:?}");
}