diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-23 02:44:20 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-23 03:51:37 +0100 |
commit | 601bc22ae18838ff56b64c15b365bcf7f93006be (patch) | |
tree | 3a20a71c90746c4db9c0d96820870bd72e60b9dc /TODO.md | |
parent | 57e3c6bf010d51842cbc86a9801fd9baee1b22eb (diff) | |
download | nitrokey-rs-601bc22ae18838ff56b64c15b365bcf7f93006be.tar.gz nitrokey-rs-601bc22ae18838ff56b64c15b365bcf7f93006be.tar.bz2 |
Prefer into() over numeric casting
Numeric casting might truncate an integer, while into() is only
implemented for numeric types if the cast is possible without
truncation.
Diffstat (limited to 'TODO.md')
-rw-r--r-- | TODO.md | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -8,7 +8,6 @@ - Fix timing issues with the `totp_no_pin` and `totp_pin` test cases. - Clear passwords from memory. - Find a nicer syntax for the `write_config` test. -- Check integer conversions. - Consider implementing `Into<CommandError>` for `(Device, CommandError)` - Lock password safe in `PasswordSafe::drop()` (see [nitrokey-storage-firmware issue 65][]). |