summaryrefslogtreecommitdiff
path: root/runtime/ops
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops')
-rw-r--r--runtime/ops/fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs
index cd93d0517..c7f4295ba 100644
--- a/runtime/ops/fs.rs
+++ b/runtime/ops/fs.rs
@@ -1366,7 +1366,7 @@ fn make_temp(
let prefix_ = prefix.unwrap_or("");
let suffix_ = suffix.unwrap_or("");
let mut buf: PathBuf = match dir {
- Some(ref p) => p.to_path_buf(),
+ Some(p) => p.to_path_buf(),
None => temp_dir(),
}
.join("_");