Fix typo in TryFrom docstring.

This commit is contained in:
Isis Lovecruft 2019-10-23 16:34:07 +00:00
parent a7f317a2b8
commit db3d26f4b9
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -355,7 +355,7 @@ impl CompressedEdwardsY {
///
/// If the input `bytes` slice does not have a length of 32. For
/// a panic-safe version of this API, see the implementation of
/// `TryFrom<&[u8]`.
/// `TryFrom<&[u8]>`.
pub fn from_slice(bytes: &[u8]) -> CompressedEdwardsY {
let mut tmp = [0u8; 32];