summaryrefslogtreecommitdiff
path: root/src/device.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.rs')
-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),
/// };