Disambiguate what kind of key in docstring.

This commit is contained in:
Isis Lovecruft 2021-09-14 22:34:41 +00:00
parent edb9ec984e
commit eef4de41c0
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

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