From 9ab5308d84e7611dbd0cb17e1ec159ae855a6763 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Thu, 27 Jun 2024 00:23:23 +0200 Subject: [PATCH] Fixup comment --- src/bans.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bans.rs b/src/bans.rs index e732d7b0..6abb385a 100644 --- a/src/bans.rs +++ b/src/bans.rs @@ -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; }