Description
stats.rs declares pub type Stats = (u64, i128, u64); twice (once near line 9 and again near line 16), which is a compile warning-level duplicate definition. Cleaning up the duplicate (as part of the broader refactor to a named struct) makes the module tidier and removes the warning.
Acceptance Criteria
Context
- Target file:
contracts/split/src/stats.rs
Description
stats.rsdeclarespub type Stats = (u64, i128, u64);twice (once near line 9 and again near line 16), which is a compile warning-level duplicate definition. Cleaning up the duplicate (as part of the broader refactor to a named struct) makes the module tidier and removes the warning.Acceptance Criteria
type Statsalias removed; exactly one declaration remains, or removed entirely if replaced by aProtocolStatsstructstats.rsresolvedcargo testpassescargo clippy -- -D warningspasses for thesplitcrateContext
contracts/split/src/stats.rs