aboutsummaryrefslogtreecommitdiff
path: root/nitrokey-sys/libnitrokey-v3.5/LICENSE
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-07-14 09:58:48 -0700
committerDaniel Mueller <deso@posteo.net>2019-07-14 09:58:48 -0700
commit019b1bb66d83bd904df3e545654f16e70e677ce8 (patch)
treef6e0e397214ec0d3f13d21faa0ba722c8205cb7c /nitrokey-sys/libnitrokey-v3.5/LICENSE
parent1d62e9151369ab50d98d638e80753630c0c3cbbf (diff)
downloadnitrocli-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-sys/libnitrokey-v3.5/LICENSE')
0 files changed, 0 insertions, 0 deletions