Skip to content

Commit 7112dfb

Browse files
Copilotjosecelano
andcommitted
style: apply cargo fmt formatting
Co-authored-by: josecelano <58816+josecelano@users.noreply.github.com>
1 parent efe20cc commit 7112dfb

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

src/presentation/commands/destroy/handler.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ pub fn handle_destroy_command(
7070
report_error(progress.output(), &error);
7171
error
7272
})?;
73-
progress.complete_step(Some(&format!("Environment name validated: {environment_name}")));
73+
progress.complete_step(Some(&format!(
74+
"Environment name validated: {environment_name}"
75+
)));
7476

7577
// Step 2: Initialize dependencies
7678
progress.start_step("Initializing dependencies");

src/presentation/progress.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl ProgressReporter {
248248

249249
/// Get a mutable reference to the underlying `UserOutput`
250250
///
251-
/// This allows using other output methods (like `error`, `warn`)
251+
/// This allows using other output methods (like `error`, `warn`)
252252
/// while progress is being tracked.
253253
///
254254
/// # Examples
@@ -304,11 +304,7 @@ mod tests {
304304
#[allow(clippy::type_complexity)]
305305
fn create_test_user_output(
306306
verbosity: VerbosityLevel,
307-
) -> (
308-
UserOutput,
309-
Arc<Mutex<Vec<u8>>>,
310-
Arc<Mutex<Vec<u8>>>,
311-
) {
307+
) -> (UserOutput, Arc<Mutex<Vec<u8>>>, Arc<Mutex<Vec<u8>>>) {
312308
let stdout_buffer = Arc::new(Mutex::new(Vec::new()));
313309
let stderr_buffer = Arc::new(Mutex::new(Vec::new()));
314310

0 commit comments

Comments
 (0)