Mayo commited on
Commit
5e95612
·
unverified ·
1 Parent(s): ef06a73

chore: make clippy happy

Browse files
Files changed (1) hide show
  1. 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, 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
 
 
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