Module tallystick::util[][src]

Expand description

Utilities for parsing common vote formats

Enums

ParseError enum contains a list of all errors that may occur during vote parsing.

A parsed vote, either ranked or unranked.

Functions

Check for duplicates in a ranked vote.

Check for duplicates in a transitive vote.

Read votes from a reader, parsing them and returning a vector of parsed votes and their weights.