Skip to content

Commit 89fe81b

Browse files
committed
docs(package): Make exception stand out
1 parent c00c81a commit 89fe81b

File tree

1 file changed

+3
-2
lines changed
  • src/cargo/ops/cargo_package

1 file changed

+3
-2
lines changed

src/cargo/ops/cargo_package/mod.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ fn do_package<'a>(
270270

271271
// The publish registry doesn't matter unless there are local dependencies that will be
272272
// resolved,
273-
// so only try to get one if we need it. If they explicitly passed a
274-
// registry on the CLI, we check it no matter what.
273+
// so only try to get one if we need it.
274+
//
275+
// If they explicitly passed a registry on the CLI, we check it no matter what.
275276
let mut local_reg = if (deps.has_dependencies() && (opts.include_lockfile || opts.verify))
276277
|| opts.reg_or_index.is_some()
277278
{

0 commit comments

Comments
 (0)