We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bbda6c commit 9be9535Copy full SHA for 9be9535
src/tools/fe/profiler.rs
@@ -17,7 +17,7 @@ impl FeProfilerTool {
17
.with_prompt("Enter collection duration in seconds")
18
.with_initial_text("10")
19
.interact_text()
20
- .map_err(|e| CliError::InvalidInput(format!("Duration input failed: {}", e)))?;
+ .map_err(|e| CliError::InvalidInput(format!("Duration input failed: {e}")))?;
21
22
let duration_str = if input.trim().is_empty() {
23
"10"
@@ -66,8 +66,7 @@ impl FeProfilerTool {
66
executor::execute_command_with_timeout(&mut command, self.name(), config)?;
67
68
let message = format!(
69
- "Flame graph generated successfully (duration: {}s).",
70
- duration
+ "Flame graph generated successfully (duration: {duration}s)."
71
);
72
73
Ok(ExecutionResult {
0 commit comments