mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Fix typo in TryFrom docstring.
This commit is contained in:
parent
a7f317a2b8
commit
db3d26f4b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue