Skip to content

Commit

Permalink
Fixup comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jun 26, 2024
1 parent 225d471 commit 9ab5308
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/bans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1640,9 +1640,10 @@ fn check_workspace_duplicates(
let has_workspace_declaration = llen != 0;

for (mdep, _parent, id) in parents {
// Unfortunately it's cargo doens't allow `workspace = false`, so if
// Unfortunately cargo doesn't allow `workspace = false`, so if
// there are situations where the user wants to explicitly opt out
// of the lint for a specific crate/crates/manifest...
// of the lint for a specific crate/crates/manifest they need to use
// [package.metadata.cargo-deny.workspace-duplicates]
if mdep.workspace.is_some() {
continue;
}
Expand Down

0 comments on commit 9ab5308

Please sign in to comment.