aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrooks J Rady <b.j.rady@gmail.com>2020-11-25 21:39:18 +0000
committerBrooks J Rady <b.j.rady@gmail.com>2020-11-25 21:39:18 +0000
commit3c43675fb1ba3b42a2cd7ce07efb69c211422475 (patch)
tree9a5d2dfd858b485e346c2d7eb36ab15a80dbf069
parentDon't crash (always?) (diff)
downloadsl0ppij-3c43675fb1ba3b42a2cd7ce07efb69c211422475.tar.gz
sl0ppij-3c43675fb1ba3b42a2cd7ce07efb69c211422475.tar.xz
sl0ppij-3c43675fb1ba3b42a2cd7ce07efb69c211422475.zip
Got roasted by cargo fmt
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index cf175779..105f3863 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -275,7 +275,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: Opt) {
let module = if let Ok(m) = Module::from_file(&store, "strider.wasm") {
m
} else {
- return Ok(()) // Just abort this thread quietly if the WASM isn't found
+ return Ok(()); // Just abort this thread quietly if the WASM isn't found
};
// FIXME: Upstream the `Pipe` struct
@@ -353,7 +353,8 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: Opt) {
}
debug_log_to_file("WASM module loaded and exited cleanly :)".to_string())?;
Ok(())
- }().unwrap()
+ }()
+ .unwrap()
})
.unwrap(),
);
@@ -463,4 +464,4 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: Opt) {
.write(goodbye_message.as_bytes())
.unwrap();
os_input.get_stdout_writer().flush().unwrap();
-} \ No newline at end of file
+}