Skip to content

Commit

Permalink
Merge pull request #4399 from j-browne/link-fix
Browse files Browse the repository at this point in the history
docs: Fix a broken link in ValueEnum docs
  • Loading branch information
epage committed Oct 18, 2022
2 parents cbb05d5 + a1d4476 commit e50a11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/derive.rs
Expand Up @@ -346,7 +346,7 @@ pub trait Subcommand: FromArgMatches + Sized {
///
/// When deriving [`Parser`], a field whose type implements `ValueEnum` can have the attribute
/// `#[arg(value_enum)]` which will
/// - Call [EnumValueParser`][crate::builder::EnumValueParser]`
/// - Call [`EnumValueParser`][crate::builder::EnumValueParser]
/// - Allowing using the `#[arg(default_value_t)]` attribute without implementing `Display`.
///
/// See the [derive reference](crate::_derive) for attributes and best practices.
Expand Down

0 comments on commit e50a11a

Please sign in to comment.