style: use rustfmt

This commit is contained in:
XOR-op 2023-10-04 22:22:27 -04:00
parent dfdebed390
commit 98de71e6fe
3 changed files with 4 additions and 7 deletions

View file

@ -43,11 +43,8 @@ impl App {
fn dispatch_quit(&mut self, write_cwd_file: bool) {
if let Some(p) = &BOOT.cwd_file {
let cwd = if write_cwd_file {
self.cx.manager.cwd().as_os_str()
} else {
&BOOT.cwd.as_os_str()
};
let cwd =
if write_cwd_file { self.cx.manager.cwd().as_os_str() } else { &BOOT.cwd.as_os_str() };
#[cfg(target_os = "windows")]
{