aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-03 23:44:43 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-04 00:50:33 +0100
commit7b4c1f73be9d430ebff698794a482d0a374b8dc9 (patch)
tree76384bcd2393667e4e4b35f8f4825db7eaf83854 /src
parenta02623db10c13d03ae889fd37078e467fe62406f (diff)
downloadnitrokey-rs-7b4c1f73be9d430ebff698794a482d0a374b8dc9.tar.gz
nitrokey-rs-7b4c1f73be9d430ebff698794a482d0a374b8dc9.tar.bz2
Fix documentation test for Storage::change_update_pin
Diffstat (limited to 'src')
-rw-r--r--src/device.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.rs b/src/device.rs
index df76e12..aaf6283 100644
--- a/src/device.rs
+++ b/src/device.rs
@@ -746,7 +746,7 @@ impl Storage {
///
/// # fn try_main() -> Result<(), CommandError> {
/// let device = nitrokey::Storage::connect()?;
- /// match device.change_storage_pin("12345678", "87654321") {
+ /// match device.change_update_pin("12345678", "87654321") {
/// Ok(()) => println!("Updated update PIN."),
/// Err(err) => println!("Failed to update update PIN: {}", err),
/// };