We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8afa07a commit c7b2e1aCopy full SHA for c7b2e1a
src/util.rs
@@ -28,7 +28,7 @@ pub fn create_helper<R>(
28
) -> io::Result<R> {
29
// Make the path absolute. Otherwise, changing the current directory can invalidate a stored
30
// path (causing issues when cleaning up temporary files.
31
- let mut base = &*base; // re-borrow to shrink lifetime
+ let mut base = base; // re-borrow to shrink lifetime
32
let base_path_storage; // slot to store the absolute path, if necessary.
33
if !base.is_absolute() {
34
let cur_dir = std::env::current_dir()?;
0 commit comments