diff options
author | Daniel Mueller <deso@posteo.net> | 2019-07-14 09:58:48 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-07-14 09:58:48 -0700 |
commit | 019b1bb66d83bd904df3e545654f16e70e677ce8 (patch) | |
tree | f6e0e397214ec0d3f13d21faa0ba722c8205cb7c /nitrokey/TODO.md | |
parent | 1d62e9151369ab50d98d638e80753630c0c3cbbf (diff) | |
download | nitrocli-019b1bb66d83bd904df3e545654f16e70e677ce8.tar.gz nitrocli-019b1bb66d83bd904df3e545654f16e70e677ce8.tar.bz2 |
Use FnMut over Fn in try_with_* and authenticate functions
The try_with_* and authenticate functions accept a user-supplied
function to work with. Currently this function is declared as Fn. That,
however, is unnecessarily restrictive.
With this change we declare said function an FnMut instead, which allows
it to potentially capture variables from its environment in a mutable
manner.
Diffstat (limited to 'nitrokey/TODO.md')
0 files changed, 0 insertions, 0 deletions