Skip to content

Commit

Permalink
refactor: use a dense pattern matching for str
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo committed Mar 20, 2024
1 parent 75712e1 commit 9f96d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ fn cp_sources(
// the time and if we respect them (e.g. in git) then it'll
// probably mess with the checksums when a vendor dir is checked
// into someone else's source control
Some(".gitattributes") | Some(".gitignore") | Some(".git") => continue,
Some(".gitattributes" | ".gitignore" | ".git") => continue,

// Temporary Cargo files
Some(".cargo-ok") => continue,
Expand Down

0 comments on commit 9f96d7b

Please sign in to comment.