Skip to content

Commit

Permalink
Happy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Nov 9, 2023
1 parent 6bb6923 commit 7f5ef26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions crates/install-wheel-rs/src/linker.rs
Expand Up @@ -388,9 +388,7 @@ fn hardlink_wheel_files(
}

// Hardlink the file, unless it's the `RECORD` file, which we modify during installation.
if entry.path().ends_with("RECORD") {
fs::copy(entry.path(), &out_path)?;
} else if use_copy_fallback {
if entry.path().ends_with("RECORD") || use_copy_fallback {
fs::copy(entry.path(), &out_path)?;
} else {
let hard_link_result = fs::hard_link(entry.path(), &out_path);
Expand Down
1 change: 1 addition & 0 deletions crates/puffin-dev/src/main.rs
Expand Up @@ -23,6 +23,7 @@ mod resolve_cli;
mod resolve_many;
mod wheel_metadata;

#[allow(clippy::enum_variant_names)]
#[derive(Parser)]
enum Cli {
/// Build a source distribution into a wheel
Expand Down

0 comments on commit 7f5ef26

Please sign in to comment.