Commit graph

3 commits

Author SHA1 Message Date
Simon Bruder 56d36f2732
Avoid truncation
Error where truncation can occurr and prevent truncation in the future
by using `type::from()` (which checks for truncation) instead of `as
type` (which doesn’t).
2020-06-27 19:43:50 +02:00
Simon Bruder 2b0b66ddca
Use unwrap() for writing to cursor
Writing to cursors should never fail
2020-06-25 18:47:11 +02:00
Simon Bruder 8319ee42d9
Initial commit 2020-06-22 20:39:20 +02:00