Fix a few typos (#281)

This commit is contained in:
Dirk Stolle 2023-03-07 08:54:30 +01:00 committed by GitHub
parent c33b49bf5a
commit 64b26ad074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -83,9 +83,9 @@ fn gen_u128<R: RngCore>(rng: &mut R) -> u128 {
/// ///
/// # Returns /// # Returns
/// ///
/// * A `Result` whose `Ok` value is an emtpy tuple and whose `Err` value is a /// * A `Result` whose `Ok` value is an empty tuple and whose `Err` value is a
/// `SignatureError` containing a description of the internal error which /// `SignatureError` containing a description of the internal error which
/// occured. /// occurred.
/// ///
/// ## On Deterministic Nonces /// ## On Deterministic Nonces
/// ///

View file

@ -86,7 +86,7 @@
//! ## Serialisation //! ## Serialisation
//! //!
//! `VerifyingKey`s, `SecretKey`s, `SigningKey`s, and `Signature`s can be serialised //! `VerifyingKey`s, `SecretKey`s, `SigningKey`s, and `Signature`s can be serialised
//! into byte-arrays by calling `.to_bytes()`. It's perfectly acceptible and //! into byte-arrays by calling `.to_bytes()`. It's perfectly acceptable and
//! safe to transfer and/or store those bytes. (Of course, never transfer your //! safe to transfer and/or store those bytes. (Of course, never transfer your
//! secret key to anyone else, since they will only need the public key to //! secret key to anyone else, since they will only need the public key to
//! verify your signatures!) //! verify your signatures!)