summaryrefslogtreecommitdiff
path: root/cli/fs.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 /cli/fs.rs
parentb3541c38f5672ffb4a29d66dca19d88b9ecae478 (diff)
Use system rustfmt instead of fixed binary (#2701)
Diffstat (limited to 'cli/fs.rs')
-rw-r--r--cli/fs.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/fs.rs b/cli/fs.rs
index 34e4d59f2..8b8693fcd 100644
--- a/cli/fs.rs
+++ b/cli/fs.rs
@@ -69,7 +69,8 @@ pub fn make_temp_dir(
let mut buf: PathBuf = match dir {
Some(ref p) => p.to_path_buf(),
None => std::env::temp_dir(),
- }.join("_");
+ }
+ .join("_");
let mut rng = rand::thread_rng();
loop {
let unique = rng.gen::<u32>();