diff options
author | Yusuke Tanaka <yusuktan@maguro.dev> | 2021-07-30 22:03:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 15:03:41 +0200 |
commit | 8f00b5542caffd14988b923efe4f066b712d2858 (patch) | |
tree | e56ebefb0b73a2205bc482a0a6f55e87bd35a92b /runtime/ops | |
parent | c909faf9e6cd2964398da7c0852d0229cdd1a22b (diff) |
chore: upgrade Rust to 1.54.0 (#11554)
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/fs.rs | 2 |
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("_"); |