From 7b4c1f73be9d430ebff698794a482d0a374b8dc9 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 3 Jan 2019 23:44:43 +0000 Subject: Fix documentation test for Storage::change_update_pin --- src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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), /// }; -- cgit v1.2.3