summaryrefslogtreecommitdiff
path: root/core/modules.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-07-31 17:11:37 -0400
committerGitHub <noreply@github.com>2019-07-31 17:11:37 -0400
commit3971dcfe10b94e901a224b5328a9dafd1e2ecc08 (patch)
treee347644a90094774e56e9315119c31594ca60796 /core/modules.rs
parentb3541c38f5672ffb4a29d66dca19d88b9ecae478 (diff)
Use system rustfmt instead of fixed binary (#2701)
Diffstat (limited to 'core/modules.rs')
-rw-r--r--core/modules.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules.rs b/core/modules.rs
index 4b0d128f2..ea47b316e 100644
--- a/core/modules.rs
+++ b/core/modules.rs
@@ -384,7 +384,8 @@ impl Modules {
if !i.has_child(&child_name) {
i.children.push(child_name.to_string());
}
- }).is_some()
+ })
+ .is_some()
}
pub fn register(&mut self, id: deno_mod, name: &str) {