summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-12 18:38:00 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-13 14:38:50 -0400
commitc4f2097c7bf9c529f9fc6ef59f63908ae741c8b2 (patch)
tree42d797c59234980a2cdfae2cea603722d6543a06 /src
parent691a375eaba78644f03ce0c746d905b7e8a4e709 (diff)
Run tools/format.py
Diffstat (limited to 'src')
-rw-r--r--src/handlers.rs4
-rw-r--r--src/main.rs7
2 files changed, 4 insertions, 7 deletions
diff --git a/src/handlers.rs b/src/handlers.rs
index c826af7c0..5e386df31 100644
--- a/src/handlers.rs
+++ b/src/handlers.rs
@@ -29,9 +29,7 @@ pub extern "C" fn handle_code_fetch(
println!(
"handle_code_fetch. cmd_id = {} module_specifier = {} containing_file = {}",
- cmd_id,
- module_specifier,
- containing_file
+ cmd_id, module_specifier, containing_file
);
unimplemented!();
diff --git a/src/main.rs b/src/main.rs
index 2755a3a9c..030859d5e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -122,10 +122,9 @@ fn main() {
let mut d = Deno::new();
- d.execute("deno_main.js", "denoMain();").unwrap_or_else(
- |err| {
+ d.execute("deno_main.js", "denoMain();")
+ .unwrap_or_else(|err| {
println!("Error {}\n", err);
std::process::exit(1);
- },
- );
+ });
}