core/src/identity: Fix typo (#1768)

This commit is contained in:
Max Inden 2020-09-17 20:50:58 +02:00 committed by GitHub
parent 87f3cb8024
commit ecdce0fed7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
/// ```
///