Mayo commited on
chore: make clippy happy
Browse files- koharu/src/app.rs +2 -2
koharu/src/app.rs
CHANGED
|
@@ -131,12 +131,12 @@ impl BootstrapController {
|
|
| 131 |
}
|
| 132 |
}
|
| 133 |
|
| 134 |
-
fn initialize(headless: bool,
|
| 135 |
#[cfg(target_os = "windows")]
|
| 136 |
{
|
| 137 |
let attached_to_parent = crate::windows::attach_parent_console();
|
| 138 |
|
| 139 |
-
if !attached_to_parent && (headless ||
|
| 140 |
crate::windows::create_console_window();
|
| 141 |
}
|
| 142 |
|
|
|
|
| 131 |
}
|
| 132 |
}
|
| 133 |
|
| 134 |
+
fn initialize(headless: bool, _debug: bool) -> Result<()> {
|
| 135 |
#[cfg(target_os = "windows")]
|
| 136 |
{
|
| 137 |
let attached_to_parent = crate::windows::attach_parent_console();
|
| 138 |
|
| 139 |
+
if !attached_to_parent && (headless || _debug) {
|
| 140 |
crate::windows::create_console_window();
|
| 141 |
}
|
| 142 |
|