Skip to content

Commit

Permalink
style: Autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
GeckoEidechse committed Aug 2, 2024
1 parent 34f54db commit 009f75d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/platform_specific/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ fn run_tracert(target_ip: &str) -> Result<usize, String> {
let hop_count = count_hops(stdout);
Ok(hop_count)
} else {
let stderr =
std::str::from_utf8(&output.stderr).expect("Invalid UTF-8 sequence in command error output");
let stderr = std::str::from_utf8(&output.stderr)
.expect("Invalid UTF-8 sequence in command error output");
println!("{}", stderr);
Err(format!("Failed collecting tracert output: {}", stderr))
}
Expand Down

0 comments on commit 009f75d

Please sign in to comment.