summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJeff Zhao <jeff.no.zhao@gmail.com>2021-08-18 15:46:02 -0400
committerJeff Zhao <jeff.no.zhao@gmail.com>2021-08-18 15:46:02 -0400
commitcefc938d62364ea91f97778ff3baaff71cc77c8e (patch)
tree7c9e12c2e32454bcb319294c7832a70dc64c01dd /src/main.rs
parent2e8201b28b2b78a77eb8a0d4eb41e231f6fef85d (diff)
cargo fmt
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 209b364..d2a4499 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -118,10 +118,9 @@ fn run_joshuto(args: Args) -> Result<(), JoshutoError> {
)?;
file.write_all("\n".as_bytes())?;
}
- },
- QuitType::Force => {},
- _ => {},
-
+ }
+ QuitType::Force => {}
+ _ => {}
}
Ok(())