From 3f82b06d49dd83bb7fc6a7b9c5829c836458bc99 Mon Sep 17 00:00:00 2001 From: Terts Diepraam Date: Thu, 9 Nov 2023 13:08:47 +0100 Subject: [PATCH] fix link in doc --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d5495c6..15fa52a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -295,7 +295,7 @@ impl ArgumentIter { } } -/// 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 @@ -304,7 +304,7 @@ impl ArgumentIter { /// 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;