From 118b0c686f326479f7221a2c7748608666847c63 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sat, 8 Jun 2024 04:47:45 +0800 Subject: [PATCH] Fix docstring --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b1c476b..3882ef9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -332,9 +332,9 @@ where }) } -/// A type which filters env vars with a prefix for use as serde field inputs +/// A type which filters env vars with a prefix for use as serde field inputs. /// -/// These types are created with with the [prefixed](fn.prefixed.html) module function +/// These types are created with the [prefixed](fn.prefixed.html) module function. pub struct Prefixed<'a>(Cow<'a, str>); impl<'a> Prefixed<'a> { @@ -400,9 +400,9 @@ where Prefixed(prefix.into()) } -/// A type which keeps the serde field names +/// A type which keeps the serde field names. /// -/// These types are created with with the [keep_names](fn.keep_names.html) module function +/// These types are created with the [keep_names](fn.keep_names.html) module function. pub struct KeepNames; impl KeepNames {