Change VoteCollector::vote to return Result<(), DoubleVote<M>> rather than Option<DoubleVote<M>>
foriequal0 opened this issue · 2 comments
foriequal0 commented
Rust can ensure Result<T, E> must be used while Option<T> doesn't. It'll prevent some classes of errors.
HoOngEe commented
Is this issue fully resolved with the pr #1800 or some other code is still remaining?
foriequal0 commented
This issue is fully resolved with it. I'll close this.