summaryrefslogtreecommitdiff
path: root/rand/src/rngs/small.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-03 09:30:35 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-03 09:30:35 -0800
commitd2c30bf5a212061c70f5ac2fded8a6519c4a2870 (patch)
treeddf9c8bd6613013e8f712dc78312d84ca2bf46fb /rand/src/rngs/small.rs
parentecf3474223ca3d16a10f12dc2272e3b0ed72c1bb (diff)
downloadnitrocli-d2c30bf5a212061c70f5ac2fded8a6519c4a2870.tar.gz
nitrocli-d2c30bf5a212061c70f5ac2fded8a6519c4a2870.tar.bz2
Adjust get_error function to accept CommandError by value
With the recent update of the nitrokey create the nitrokey::CommandError enum has become trivially copyable. Hence, there is no more point in passing a reference to it to the get_error function. To that end, this change adjusts the signature to accept an owned value instead.
Diffstat (limited to 'rand/src/rngs/small.rs')
0 files changed, 0 insertions, 0 deletions