diff --git a/src/builder/arg.rs b/src/builder/arg.rs index e9cd1a3518e..15f5aaac663 100644 --- a/src/builder/arg.rs +++ b/src/builder/arg.rs @@ -466,7 +466,6 @@ impl Arg { /// [`Arg::short`]: Arg::short() /// [`Arg::long`]: Arg::long() /// [`Arg::num_args(true)`]: Arg::num_args() - /// [`panic!`]: https://doc.rust-lang.org/std/macro.panic!.html /// [`Command`]: crate::Command #[inline] #[must_use] diff --git a/src/macros.rs b/src/macros.rs index df0680ffb8c..0e609eef0cc 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -533,7 +533,7 @@ macro_rules! arg_impl { /// assert_eq!(*m.get_one::("debug").unwrap(), 0); /// assert_eq!(m.get_one::("input"), None); /// ``` -/// [`Arg`]: ./struct.Arg.html +/// [`Arg`]: crate::Arg #[macro_export] macro_rules! arg { ( $name:ident: $($tail:tt)+ ) => {