From 5e0b3c161c1529cba5832f4b8cc5641debad32dd Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sat, 14 Oct 2023 18:07:13 -0700 Subject: [PATCH] docs: Fix doc link to `Arg::trailing_var_arg`. --- clap_builder/src/builder/arg.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clap_builder/src/builder/arg.rs b/clap_builder/src/builder/arg.rs index 5634078c5008..8e247c1763a2 100644 --- a/clap_builder/src/builder/arg.rs +++ b/clap_builder/src/builder/arg.rs @@ -1617,7 +1617,7 @@ impl Arg { /// ``` /// /// Will result in everything after `--` to be considered one raw argument. This behavior - /// may not be exactly what you are expecting and using [`crate::Command::trailing_var_arg`] + /// may not be exactly what you are expecting and using [`Arg::trailing_var_arg`] /// may be more appropriate. /// /// **NOTE:** Implicitly sets [`Arg::action(ArgAction::Set)`] [`Arg::num_args(1..)`],