summaryrefslogtreecommitdiff
path: root/src/tests/no_device.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-05-22 08:55:45 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-05-22 10:57:28 +0200
commit2c31912bd2f8731c146da6640e28896c9de6286a (patch)
treea30eafed93f41667f342a72e25fb6f70c4b95254 /src/tests/no_device.rs
parenta9657c48c8c92f6c82834a2abd90e27904e2cf6b (diff)
downloadnitrokey-rs-2c31912bd2f8731c146da6640e28896c9de6286a.tar.gz
nitrokey-rs-2c31912bd2f8731c146da6640e28896c9de6286a.tar.bz2
Improve OtpSlotData constructor / builder
Firstly, use Into<String> instead of String::from(&str). Secondly, add methods to set the two arguments not set in the constructor.
Diffstat (limited to 'src/tests/no_device.rs')
0 files changed, 0 insertions, 0 deletions