Skip to content

Commit

Permalink
fix Field::deserialize() docs (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
conradoplg authored Aug 18, 2023
1 parent 9dffc6f commit 60d9942
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frost-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ pub trait Field: Copy + Clone {
/// A member function of a [`Field`] that attempts to map a byte array `buf` to a [`Scalar`].
///
/// Fails if the input is not a valid byte representation of an [`Scalar`] of the
/// [`Field`]. This function can raise an [`Error`] if deserialization fails or if the
/// resulting [`Scalar`] is zero
/// [`Field`]. This function can raise an [`Error`] if deserialization fails.
///
/// <https://www.ietf.org/archive/id/draft-irtf-cfrg-frost-14.html#section-3.1-3.9>
fn deserialize(buf: &Self::Serialization) -> Result<Self::Scalar, FieldError>;
Expand Down

0 comments on commit 60d9942

Please sign in to comment.