Skip to content

Commit 9be9535

Browse files
committed
ci: fix cargo clippy check
1 parent 0bbda6c commit 9be9535

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tools/fe/profiler.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ impl FeProfilerTool {
1717
.with_prompt("Enter collection duration in seconds")
1818
.with_initial_text("10")
1919
.interact_text()
20-
.map_err(|e| CliError::InvalidInput(format!("Duration input failed: {}", e)))?;
20+
.map_err(|e| CliError::InvalidInput(format!("Duration input failed: {e}")))?;
2121

2222
let duration_str = if input.trim().is_empty() {
2323
"10"
@@ -66,8 +66,7 @@ impl FeProfilerTool {
6666
executor::execute_command_with_timeout(&mut command, self.name(), config)?;
6767

6868
let message = format!(
69-
"Flame graph generated successfully (duration: {}s).",
70-
duration
69+
"Flame graph generated successfully (duration: {duration}s)."
7170
);
7271

7372
Ok(ExecutionResult {

0 commit comments

Comments
 (0)