From b149bfba57785a3328995bcedad1708be67e2c62 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Tue, 12 Sep 2023 12:47:19 +0100 Subject: [PATCH] Fix lint errors with Rust 1.73 (#672) Fixes #671. GUS-W-14108569. --- libcnb-cargo/tests/integration_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcnb-cargo/tests/integration_test.rs b/libcnb-cargo/tests/integration_test.rs index fc23897a..6abb7cfe 100644 --- a/libcnb-cargo/tests/integration_test.rs +++ b/libcnb-cargo/tests/integration_test.rs @@ -274,7 +274,7 @@ fn copy_fixture_to_temp_dir(name: &str) -> Result { 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<()> {