Tamed the borrow checker

main
Michal 2 years ago
parent ddc14fe1f8
commit 809211f72c
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -73,7 +73,7 @@ fn do_the_pulling(repos: Vec<String>, verbose: bool, params: &PullParams) {
.unwrap();
}
// Return to root dir
env::set_current_dir(root_dir).unwrap();
env::set_current_dir(&root_dir).unwrap();
log!(
verbose,
"Returned to root dir: {:?}",

Loading…
Cancel
Save