diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-04-09 21:52:46 +0200 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-04-09 21:59:28 +0200 |
| commit | f058d05fc20a19c46a8253eec15faa2636ea1135 (patch) | |
| tree | 11a4842e77e81b5fee5e1ac863cc2006032eb631 /compiler/rustc_data_structures/src/profiling.rs | |
| parent | 1c39afb37536e7e2ea974734aa65ff025b47f7b9 (diff) | |
| download | rust-f058d05fc20a19c46a8253eec15faa2636ea1135.tar.gz rust-f058d05fc20a19c46a8253eec15faa2636ea1135.zip | |
Some simple `clippy::perf` fixes
Diffstat (limited to 'compiler/rustc_data_structures/src/profiling.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/profiling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/profiling.rs b/compiler/rustc_data_structures/src/profiling.rs index 58a0609e296..92924111a00 100644 --- a/compiler/rustc_data_structures/src/profiling.rs +++ b/compiler/rustc_data_structures/src/profiling.rs @@ -778,7 +778,7 @@ pub fn print_time_passes_entry( "rss_start": start_rss, "rss_end": end_rss, }); - eprintln!("time: {}", json.to_string()); + eprintln!("time: {}", json); return; } TimePassesFormat::Text => (), |
