Skip to content

Commit

Permalink
add documentation for private build method
Browse files Browse the repository at this point in the history
  • Loading branch information
JL710 authored and TedDriggs committed Oct 2, 2024
1 parent 65c87d3 commit b809d0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions derive_builder/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@
//! your own version. Suppression is done using `#[builder(build_fn(skip))]` at the struct level,
//! and renaming is done with `#[builder(build_fn(name = "YOUR_NAME"))]`.
//!
//! Additionally if you want to make the build method private you can apply `#[builder(build_fn(private))]`.
//!
//! ## Pre-Build Validation
//!
//! If you're using the provided `build` method, you can declare
Expand Down

0 comments on commit b809d0e

Please sign in to comment.