Fix a bunch of future clippy warnings (#3586)

* Fix a bunch of future clippy warnings

* Fix a bunch of future clippy warnings
This commit is contained in:
JT
2021-06-10 07:08:12 +12:00
committed by GitHub
parent e8a2250ef8
commit 383e874166
86 changed files with 237 additions and 258 deletions

View File

@ -30,7 +30,7 @@ fn current_working_directory_in_sandbox_directory_created() {
let original_cwd = dirs.test();
nu.within("some_directory_within");
assert_eq!(path(&nu.cwd()), original_cwd.join("some_directory_within"));
assert_eq!(path(nu.cwd()), original_cwd.join("some_directory_within"));
})
}
@ -42,6 +42,6 @@ fn current_working_directory_back_to_root_from_anywhere() {
nu.within("some_directory_within");
nu.back_to_playground();
assert_eq!(path(&nu.cwd()), *original_cwd);
assert_eq!(path(nu.cwd()), *original_cwd);
})
}