mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-27 08:41:36 +00:00
core/src/identity: Fix typo (#1768)
This commit is contained in:
@ -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);
|
||||
/// ```
|
||||
///
|
||||
|
Reference in New Issue
Block a user