diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 414aee31b..6dfb3e9e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ on: env: # renovate: datasource=github-tags depName=rust lookupName=rust-lang/rust - RUST_VERSION: 1.79.0 + RUST_VERSION: 1.80.0 jobs: lint: diff --git a/src/lib.rs b/src/lib.rs index b0ab098af..6823f1193 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -262,7 +262,7 @@ fn copy_dir(source: impl AsRef, dest: impl AsRef) -> Result<(), io:: if entry.file_type()?.is_dir() { copy_inner(&entry.path(), &new_dest)?; } else { - fs::copy(&entry.path(), &new_dest)?; + fs::copy(entry.path(), &new_dest)?; } } Ok(())