Skip to content

Commit f5a6aed

Browse files
committed
docs: combine NOTE lines that were accidentally split
Commit 6f78e2a split apart the lines of the note, which looks like a mistake. I also added a comma between the first two items.
1 parent 7adce96 commit f5a6aed

File tree

1 file changed

+2
-3
lines changed
  • clap_builder/src/builder

1 file changed

+2
-3
lines changed

clap_builder/src/builder/arg.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,12 +1762,11 @@ impl Arg {
17621762
///
17631763
/// <div class="warning">
17641764
///
1765-
/// **NOTE:** Implicitly sets [`Arg::action(ArgAction::Set)`] [`Arg::num_args(1..)`],
1765+
/// **NOTE:** Implicitly sets [`Arg::action(ArgAction::Set)`], [`Arg::num_args(1..)`],
1766+
/// [`Arg::allow_hyphen_values(true)`], and [`Arg::last(true)`] when set to `true`.
17661767
///
17671768
/// </div>
17681769
///
1769-
/// [`Arg::allow_hyphen_values(true)`], and [`Arg::last(true)`] when set to `true`.
1770-
///
17711770
/// [`Arg::action(ArgAction::Set)`]: Arg::action()
17721771
/// [`Arg::num_args(1..)`]: Arg::num_args()
17731772
/// [`Arg::allow_hyphen_values(true)`]: Arg::allow_hyphen_values()

0 commit comments

Comments
 (0)