diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-29 17:10:53 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-29 17:10:53 +0800 |
| commit | aa9b84a35816e7a119707a4be7a2f19a0160ee44 (patch) | |
| tree | be3ab8f7bbe6d26fb6fe5dc75a7e2c98682b8ed3 /mingling/src/program.rs | |
| parent | 637c5507a18390fbe6087805f5204328cdc94bcf (diff) | |
Fix indentation and formatting in program modules
Diffstat (limited to 'mingling/src/program.rs')
| -rw-r--r-- | mingling/src/program.rs | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/mingling/src/program.rs b/mingling/src/program.rs index 9463084..22488ba 100644 --- a/mingling/src/program.rs +++ b/mingling/src/program.rs @@ -65,15 +65,14 @@ where }; // Render result - if stdout_setting.render_output - && !result.is_empty() { - print!("{}", result); - if let Err(e) = tokio::io::stdout().flush().await - && stdout_setting.error_output - { - eprintln!("{}", e); - } + if stdout_setting.render_output && !result.is_empty() { + print!("{}", result); + if let Err(e) = tokio::io::stdout().flush().await + && stdout_setting.error_output + { + eprintln!("{}", e); } + } } } |
