Description
SplitRule in contracts/split/src/types.rs has three variants (Fixed, Percentage, Tiered) with brief labels but no examples showing how each is computed at release time. Adding worked examples to each variant's doc comment would make the enum usable without reading lib.rs.
Acceptance Criteria
Context
- Target file:
contracts/split/src/types.rs
Description
SplitRuleincontracts/split/src/types.rshas three variants (Fixed,Percentage,Tiered) with brief labels but no examples showing how each is computed at release time. Adding worked examples to each variant's doc comment would make the enum usable without readinglib.rs.Acceptance Criteria
/// # Exampleor inline example to each ofFixed,Percentage, andTieredincontracts/split/src/types.rsPercentage(3000)onfunded = 10_000yields3_000cargo docbuilds without warningscargo testpassesContext
contracts/split/src/types.rs