diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-12-27 23:08:29 +0100 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-12-27 23:08:29 +0100 |
commit | 4467ce7a2d1eedb320e92e5a26f1b93bc41d3611 (patch) | |
tree | 6eff6a4a13d6bed240b021c9c6c8fae45b9a957e /src/device/storage.rs | |
parent | c35a20f6c034e4d8aa1eeba3eef85429e09d95dc (diff) | |
download | nitrokey-rs-4467ce7a2d1eedb320e92e5a26f1b93bc41d3611.tar.gz nitrokey-rs-4467ce7a2d1eedb320e92e5a26f1b93bc41d3611.tar.bz2 |
Simplify doc tests with results
Since Rust 1.34.0, we no longer need a `fn main` comment in doc tests
that return results. It is sufficient to have an `Ok` return value with
type annotations.
Diffstat (limited to 'src/device/storage.rs')
0 files changed, 0 insertions, 0 deletions