Skip to content

Commit 1805f3f

Browse files
committed
docs(package): Make exception stand out
1 parent df48f0c commit 1805f3f

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
@@ -283,8 +283,9 @@ fn do_package<'a>(
283283

284284
// The publish registry doesn't matter unless there are local dependencies that will be
285285
// resolved,
286-
// so only try to get one if we need it. If they explicitly passed a
287-
// registry on the CLI, we check it no matter what.
286+
// so only try to get one if we need it.
287+
//
288+
// If they explicitly passed a registry on the CLI, we check it no matter what.
288289
let mut local_reg = if (deps.has_dependencies() && (opts.include_lockfile || opts.verify))
289290
|| opts.reg_or_index.is_some()
290291
{

0 commit comments

Comments
 (0)