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 /src/util.rs | |
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 'src/util.rs')
0 files changed, 0 insertions, 0 deletions