Skip to content

Commit e01f2b7

Browse files
committed
docs: Cleanup unused links
1 parent 6b12a81 commit e01f2b7

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

clap_builder/src/builder/command.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2113,8 +2113,6 @@ impl Command {
21132113
/// )
21142114
/// # ;
21152115
/// ```
2116-
///
2117-
/// [`ArgMatches::usage`]: ArgMatches::usage()
21182116
#[must_use]
21192117
pub fn override_usage(mut self, usage: impl IntoResettable<StyledStr>) -> Self {
21202118
self.usage_str = usage.into_resettable().into_option();
@@ -3746,8 +3744,6 @@ impl Command {
37463744
}
37473745

37483746
/// Get the custom section heading specified via [`Command::next_help_heading`].
3749-
///
3750-
/// [`Command::help_heading`]: Command::help_heading()
37513747
#[inline]
37523748
pub fn get_next_help_heading(&self) -> Option<&str> {
37533749
self.current_help_heading.as_deref()

clap_builder/src/error/kind.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ pub enum ErrorKind {
252252
/// # }
253253
/// ```
254254
///
255-
/// [`Arg::allow_invalid_utf8`]: crate::Arg::allow_invalid_utf8
256255
/// [`Command::external_subcommand_value_parser`]: crate::Command::external_subcommand_value_parser
257256
InvalidUtf8,
258257

clap_builder/src/parser/matches/arg_matches.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,6 @@ impl ArgMatches {
308308
/// ```
309309
/// [`Iterator`]: std::iter::Iterator
310310
/// [`OsSt`]: std::ffi::OsStr
311-
/// [values]: OsValues
312311
/// [`String`]: std::string::String
313312
#[cfg_attr(debug_assertions, track_caller)]
314313
pub fn get_raw(&self, id: &str) -> Option<RawValues<'_>> {
@@ -363,7 +362,6 @@ impl ArgMatches {
363362
/// ```
364363
/// [`Iterator`]: std::iter::Iterator
365364
/// [`OsStr`]: std::ffi::OsStr
366-
/// [values]: OsValues
367365
/// [`String`]: std::string::String
368366
#[cfg_attr(debug_assertions, track_caller)]
369367
pub fn get_raw_occurrences(&self, id: &str) -> Option<RawOccurrences<'_>> {
@@ -853,7 +851,6 @@ impl ArgMatches {
853851
/// assert_eq!(m.indices_of("option").unwrap().collect::<Vec<_>>(), &[2]);
854852
/// ```
855853
/// [`ArgMatches::index_of`]: ArgMatches::index_of()
856-
/// [delimiter]: Arg::value_delimiter()
857854
#[cfg_attr(debug_assertions, track_caller)]
858855
pub fn indices_of(&self, id: &str) -> Option<Indices<'_>> {
859856
let arg = some!(self.get_arg(id));

0 commit comments

Comments
 (0)