Skip to content

Commit

Permalink
Fix a broken link in ValueEnum docs
Browse files Browse the repository at this point in the history
  • Loading branch information
j-browne committed Oct 18, 2022
1 parent cbb05d5 commit a1d4476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/derive.rs
Original file line number Diff line number Diff line change
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 a1d4476

Please sign in to comment.