diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-11-18 12:54:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 12:54:01 -0500 |
commit | 6962808f4b6bfa18312820f710bc57c17980531d (patch) | |
tree | fb8d603e8c82fb3f872b19ee65737a87a68b7f7a /runtime/ops | |
parent | 1e512d10b3b35f4d106a74fcc9edf6610f82c183 (diff) |
chore: fix windows-only clippy errors (#16703)
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 e48e365be..ebd24ebe0 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -653,7 +653,7 @@ fn raw_chmod(path: &Path, _raw_mode: u32) -> Result<(), AnyError> { #[cfg(not(unix))] { // Still check file/dir exists on Windows - let _metadata = std::fs::metadata(&path).map_err(err_mapper)?; + let _metadata = std::fs::metadata(path).map_err(err_mapper)?; Err(not_supported()) } } |