Skip to content

Commit

Permalink
Fix lint errors with Rust 1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
edmorley committed Sep 12, 2023
1 parent 5de5a66 commit d45b03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcnb-cargo/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ fn copy_fixture_to_temp_dir(name: &str) -> Result<TempDir, std::io::Error> {
env::temp_dir()
.canonicalize()
.and_then(tempdir_in)
.and_then(|temp_dir| copy_dir_recursively(&fixture_dir, temp_dir.path()).map(|_| temp_dir))
.and_then(|temp_dir| copy_dir_recursively(&fixture_dir, temp_dir.path()).map(|()| temp_dir))
}

fn copy_dir_recursively(source: &Path, destination: &Path) -> std::io::Result<()> {
Expand Down

0 comments on commit d45b03b

Please sign in to comment.