Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/profile/src/lib.rs')
| -rw-r--r-- | crates/profile/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/profile/src/lib.rs b/crates/profile/src/lib.rs index 00f7952e80..7ca3c7d629 100644 --- a/crates/profile/src/lib.rs +++ b/crates/profile/src/lib.rs @@ -114,11 +114,11 @@ impl Drop for CpuSpan { match out { Ok(out) if out.status.success() => { let svg = profile_data.with_extension("svg"); - std::fs::write(&svg, &out.stdout).unwrap(); + std::fs::write(&svg, out.stdout).unwrap(); eprintln!("Profile rendered to:\n\n {}\n", svg.display()); } _ => { - eprintln!("Failed to run:\n\n {:?}\n", cmd); + eprintln!("Failed to run:\n\n {cmd:?}\n"); } } } |