about summary refs log tree commit diff
path: root/src/tests.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-09-04T08·58+0200
committerVincent Ambo <mail@tazj.in>2018-09-04T10·45+0200
commitd3b200e820589fa8af8f47cd7e2bb76be006475b (patch)
tree5c50959b7258cb62f13cea4e97a66743e77741fc /src/tests.rs
parent0f8231e99051c1a9703f951b19a5877fe474d92d (diff)
refactor: Use error enum + result type alias for failures
This makes the library slightly more "rusty". Instead of returning a
validation result which also represents potential success, use an enum
representing the error variants and the standard library's
`Result`-type to represent success/failure.
Diffstat (limited to 'src/tests.rs')
0 files changed, 0 insertions, 0 deletions