Skip to content

Commit

Permalink
Merge pull request #300 from blakejakopovic/patch-1
Browse files Browse the repository at this point in the history
Fix awkward wording in lib.rs documentation
  • Loading branch information
TedDriggs authored Jan 20, 2024
2 parents fdf643e + ffc7b1f commit fd86173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions derive_builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@
//!
//! ## Setters for Option
//!
//! You can avoid to user to wrap value into `Some(...)` for field of type `Option<T>`. 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<T>`. It's as simple as adding
//! `#[builder(setter(strip_option))]` to either a single field or the whole struct.
//!
//! ```rust
//! # #[macro_use]
Expand Down

0 comments on commit fd86173

Please sign in to comment.