diff options
author | Satya Rohith <me@satyarohith.com> | 2024-06-14 17:10:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-14 17:10:57 +0530 |
commit | 0f48313565ed2620efbd9d0f2203b57f8f126e6a (patch) | |
tree | 39e348917188b7524eadc138dfcf80f92a185ac6 /ext/kv/sqlite.rs | |
parent | e19ee6eecc416a99801231ac53f2c512ba1f81dd (diff) |
chore: upgrade to rust 1.79 (#24207)
Diffstat (limited to 'ext/kv/sqlite.rs')
-rw-r--r-- | ext/kv/sqlite.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/kv/sqlite.rs b/ext/kv/sqlite.rs index 6dd821bda..37f5aa685 100644 --- a/ext/kv/sqlite.rs +++ b/ext/kv/sqlite.rs @@ -195,7 +195,7 @@ fn canonicalize_path(path: &Path) -> Result<PathBuf, AnyError> { } else { names_stack.push(path.to_str().unwrap().to_string()); let current_dir = current_dir()?; - path = current_dir.clone(); + path.clone_from(¤t_dir); } } Err(err) => return Err(err.into()), |