Skip to content

Commit

Permalink
Document builder_setter_attrs
Browse files Browse the repository at this point in the history
I couldn't think of a good example.
  • Loading branch information
ijackson committed Mar 11, 2022
1 parent 5853eaa commit 6ef0a6e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion derive_builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
//! # fn main() {}
//! ```
//!
//! ### Additional attributes on fields in the builder
//! ### Additional attributes on specifically fields in the builder, or the setter function
//!
//! You can set other attributes on the field in the builder:
//!
Expand All @@ -528,6 +528,9 @@
//! # }
//! ```
//!
//! `builder_setter_attrs` works the same way,
//! but the contained attribute(s) are applied to the generated setter function.
//!
//! # **`#![no_std]`** Support (on Nightly)
//!
//! You can activate support for `#![no_std]` by adding `#[builder(no_std)]` to your struct
Expand Down

0 comments on commit 6ef0a6e

Please sign in to comment.