You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Struct docs (not copied anywhere)#[derive(bon::Builder)]#[builder( builder_type(docs(/// Builder type docs)), start_fn(docs(/// Starting function docs)), finish_fn(docs(/// Finishing function docs)))]structExample{/// Field docs (inherited by setter by default)#[builder(docs(/// Setter docs override))]field:i32,}
Functions
/// Start fn docs#[builder( builder_type(docs(/// Builder type docs)), finish_fn(docs(/// Finishing function docs)))]fnexample(/// Setter docs (always moved to the setter)./// Rust doesn't support docs on arguments directly otherwisearg:u32){}
A note for the community from the maintainers
Please vote on this issue by adding a 👍 reaction to help the maintainers with prioritizing it. You may add a comment describing your real use case related to this issue for us to better understand the problem domain.
The text was updated successfully, but these errors were encountered:
The motivation for this feature is this reddit comment.
I propose the following attributes design:
Structs
Functions
A note for the community from the maintainers
Please vote on this issue by adding a 👍 reaction to help the maintainers with prioritizing it. You may add a comment describing your real use case related to this issue for us to better understand the problem domain.
The text was updated successfully, but these errors were encountered: