mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-21 15:11:20 +00:00
core/src/identity: Fix typo (#1768)
This commit is contained in:
parent
87f3cb8024
commit
ecdce0fed7
@ -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);
|
||||
/// ```
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user