diff options
| author | ache <ache@ache.one> | 2026-08-16 21:28:11 +0200 |
|---|---|---|
| committer | ache <ache@ache.one> | 2026-08-16 21:28:11 +0200 |
| commit | 230d7125c8f71514b0b53841c2cdeb995dc43f22 (patch) | |
| tree | c875693c589d69b241c500d5df0a9091daf82e7b /src/main.rs | |
| parent | Remove unused variables (diff) | |
Remove unusde import and cast
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index ee5add6..f35a052 100644 --- a/src/main.rs +++ b/src/main.rs @@ -108,11 +108,11 @@ fn main_loop( } // Prints lines based on the state of each ping - print_ping_line(&states); + print_ping_line(states); // Print stats if args.stats { - if let Some(stats) = compute_stats(&states) { + if let Some(stats) = compute_stats(states) { print_stats(&stats); } // Print stats of the last 30 pings |