1
Fork 0

Apply x clippy --fix and x fmt

This commit is contained in:
r0cky 2024-05-30 09:51:27 +08:00
parent f2e1a3a80a
commit dabd05bbab
14 changed files with 28 additions and 30 deletions

View file

@ -562,7 +562,7 @@ impl SelfProfiler {
// ASLR is disabled and the heap is otherwise deterministic.
let pid: u32 = process::id();
let filename = format!("{crate_name}-{pid:07}.rustc_profile");
let path = output_directory.join(&filename);
let path = output_directory.join(filename);
let profiler =
Profiler::with_counter(&path, measureme::counters::Counter::by_name(counter_name)?)?;