Skip to content

Commit

Permalink
fix link in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tertsdiepraam committed Nov 9, 2023
1 parent 6d21e6d commit 3f82b06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ impl<T: Arguments> ArgumentIter<T> {
}
}

/// An alternative for the [`Default`](std::default::Default) trait, with a more feature
/// An alternative for the [`Default`] trait, with a more feature
/// packed derive macro.
///
/// The `Initial` trait is used by `Options` to construct the initial
Expand All @@ -304,7 +304,7 @@ impl<T: Arguments> ArgumentIter<T> {
/// The [derive macro](derive::Initial) supports setting the initial
/// value per field and parsing the initial values from environment
/// variables. Otherwise, it will be equivalent to the derive macro
/// for the [`Default`](std::default::Default) trait.
/// for the [`Default`] trait.
pub trait Initial: Sized {
/// Create the initial state of `Self`
fn initial() -> Self;
Expand Down

0 comments on commit 3f82b06

Please sign in to comment.