From 71c1e59334f86c58f896198618fe2deb35a86a11 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 5634078c500..8e247c1763a 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..)`],