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

This commit is contained in:
phoenix committed 2026-06-06 14:01:25 -04:00
1 parent 1b8fde6da3
commit ba15a94e40
1 file changed
+1 -2
+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:?}");
}