diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-28 12:05:42 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-02 10:21:25 +0000 |
commit | e97ccf213eec4e2d056c2f72079e4eeb7ac66f3f (patch) | |
tree | 9653ef1c0032c0ee5c7177b1252f6504ec13065c /CHANGELOG.md | |
parent | ad76653b3be57c0cfd31c8056a8d68537034324e (diff) | |
download | nitrokey-rs-e97ccf213eec4e2d056c2f72079e4eeb7ac66f3f.tar.gz nitrokey-rs-e97ccf213eec4e2d056c2f72079e4eeb7ac66f3f.tar.bz2 |
Implement DerefMut for User and Admin
As we want to change some methods to take a mutable reference to a
Device, we implement DerefMut for User<T> and Admin<T> so that users can
obtain a mutable reference to the wrapped device.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a9e3065..fcba0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,8 @@ SPDX-License-Identifier: MIT - Always return a `Result` in functions that communicate with a device. - Combine `get_{major,minor}_firmware_version` into `get_firmware_version`. - Add `set_encrypted_volume_mode` to `Storage`. +- Use mutability to represent changes to the device status: + - Implement `DerefMut` for `User<T>` and `Admin<T>`. # v0.3.4 (2019-01-20) - Fix authentication methods that assumed that `char` is signed. |