From b568d93f0352481f78a5e68c0e86c276286cec6e Mon Sep 17 00:00:00 2001 From: Conrado Gouvea Date: Thu, 17 Aug 2023 17:02:59 -0300 Subject: [PATCH] fix Field::deserialize() docs --- frost-core/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frost-core/src/lib.rs b/frost-core/src/lib.rs index 922de07a..bb4d9286 100644 --- a/frost-core/src/lib.rs +++ b/frost-core/src/lib.rs @@ -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. /// /// fn deserialize(buf: &Self::Serialization) -> Result;