Skip to content

Commit

Permalink
Fix typo in TryFrom docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
isislovecruft committed Oct 23, 2019
1 parent 0840d3a commit da41966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edwards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,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];

Expand Down

0 comments on commit da41966

Please sign in to comment.