summaryrefslogtreecommitdiff
path: root/runtime/fs_util.rs
diff options
context:
space:
mode:
authorlinbingquan <695601626@qq.com>2022-12-18 06:20:15 +0800
committerGitHub <noreply@github.com>2022-12-17 23:20:15 +0100
commitf46df3e35940fc78163945eed33e58fafed0b06b (patch)
treec22233bf2019a254045ad0af533225d3f02a402f /runtime/fs_util.rs
parentf2c9cc500c84a3c6051823cd3ae33d6b4c1f6266 (diff)
chore: update to Rust 1.66.0 (#17078)
Diffstat (limited to 'runtime/fs_util.rs')
-rw-r--r--runtime/fs_util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/fs_util.rs b/runtime/fs_util.rs
index 30598e041..a71e70986 100644
--- a/runtime/fs_util.rs
+++ b/runtime/fs_util.rs
@@ -28,7 +28,7 @@ pub fn resolve_from_cwd(path: &Path) -> Result<PathBuf, AnyError> {
} else {
let cwd =
current_dir().context("Failed to get current working directory")?;
- Ok(normalize_path(&cwd.join(path)))
+ Ok(normalize_path(cwd.join(path)))
}
}