Fix a minor typo in signing.rs (#649)

an -> a
This commit is contained in:
Hiroki Kobayashi 2024-04-14 10:37:33 +09:00 committed by GitHub
parent cc3421a22f
commit 1efe6a93b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,7 +131,7 @@ impl SigningKey {
/// # Returns
///
/// A `Result` whose okay value is an EdDSA [`SigningKey`] or whose error value
/// is an `SignatureError` describing the error that occurred.
/// is a `SignatureError` describing the error that occurred.
#[inline]
pub fn from_keypair_bytes(bytes: &[u8; 64]) -> Result<SigningKey, SignatureError> {
let (secret_key, verifying_key) = bytes.split_at(SECRET_KEY_LENGTH);