diff options
author | Vincent Ambo <mail@tazj.in> | 2018-09-04T08·58+0200 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2018-09-04T10·45+0200 |
commit | d3b200e820589fa8af8f47cd7e2bb76be006475b (patch) | |
tree | 5c50959b7258cb62f13cea4e97a66743e77741fc /src/tests.rs | |
parent | 0f8231e99051c1a9703f951b19a5877fe474d92d (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