From ffc7b1f3d05e048fbddf5eda919f7e8c41975c68 Mon Sep 17 00:00:00 2001 From: Blake Jakopovic Date: Wed, 6 Dec 2023 12:07:55 +0000 Subject: [PATCH] Update lib.rs Adjusted doc phrasing for `Setters for Option` --- derive_builder/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/derive_builder/src/lib.rs b/derive_builder/src/lib.rs index e5d5b9b..27c392d 100644 --- a/derive_builder/src/lib.rs +++ b/derive_builder/src/lib.rs @@ -275,8 +275,8 @@ //! //! ## Setters for Option //! -//! You can avoid to user to wrap value into `Some(...)` for field of type `Option`. It's as simple as adding -//! `#[builder(setter(strip_option))]` to either a field or the whole struct. +//! You can avoid wrapping values in `Some(...)` for fields of type `Option`. It's as simple as adding +//! `#[builder(setter(strip_option))]` to either a single field or the whole struct. //! //! ```rust //! # #[macro_use]