diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-03 23:44:43 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-04 00:50:33 +0100 |
commit | 7b4c1f73be9d430ebff698794a482d0a374b8dc9 (patch) | |
tree | 76384bcd2393667e4e4b35f8f4825db7eaf83854 | |
parent | a02623db10c13d03ae889fd37078e467fe62406f (diff) | |
download | nitrokey-rs-7b4c1f73be9d430ebff698794a482d0a374b8dc9.tar.gz nitrokey-rs-7b4c1f73be9d430ebff698794a482d0a374b8dc9.tar.bz2 |
Fix documentation test for Storage::change_update_pin
-rw-r--r-- | src/device.rs | 2 |
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), /// }; |