Skip to content

Commit 973f30f

Browse files
committed
refactor(docs): Use intra-doc links to avoid breakages
1 parent e534478 commit 973f30f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/builder/arg.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ impl Arg {
466466
/// [`Arg::short`]: Arg::short()
467467
/// [`Arg::long`]: Arg::long()
468468
/// [`Arg::num_args(true)`]: Arg::num_args()
469-
/// [`panic!`]: https://doc.rust-lang.org/std/macro.panic!.html
470469
/// [`Command`]: crate::Command
471470
#[inline]
472471
#[must_use]

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ macro_rules! arg_impl {
533533
/// assert_eq!(*m.get_one::<u8>("debug").unwrap(), 0);
534534
/// assert_eq!(m.get_one::<String>("input"), None);
535535
/// ```
536-
/// [`Arg`]: ./struct.Arg.html
536+
/// [`Arg`]: crate::Arg
537537
#[macro_export]
538538
macro_rules! arg {
539539
( $name:ident: $($tail:tt)+ ) => {

0 commit comments

Comments
 (0)