From ecdce0fed76aa154dd76c20c3c7012f2485dbc19 Mon Sep 17 00:00:00 2001 From: Max Inden Date: Thu, 17 Sep 2020 20:50:58 +0200 Subject: [PATCH] core/src/identity: Fix typo (#1768) --- core/src/identity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/identity.rs b/core/src/identity.rs index 4b65f1a5..916720f4 100644 --- a/core/src/identity.rs +++ b/core/src/identity.rs @@ -44,7 +44,7 @@ use crate::{PeerId, keys_proto}; /// Loading the keys: /// /// ```text -/// let mut bytes = std::fs::read("private.pem").unwrap(); +/// let mut bytes = std::fs::read("private.pk8").unwrap(); /// let keypair = Keypair::rsa_from_pkcs8(&mut bytes); /// ``` ///