Fixed doc nit from update-ci branch

Co-Authored-by: Michael Rosenberg <michael@mrosenberg.pub>
This commit is contained in:
pinkforest 2023-03-12 13:42:31 +11:00
parent be8a657ece
commit c779e215f7
No known key found for this signature in database

View file

@ -125,7 +125,7 @@ impl ReusableSecret {
SharedSecret(self.0 * their_public.0)
}
/// Generate a non-serializeable x25519 [`ReuseableSecret`] key.
/// Generate a non-serializeable x25519 [`ReusableSecret`] key.
pub fn new<T: RngCore + CryptoRng>(mut csprng: T) -> Self {
let mut bytes = [0u8; 32];