From e426fddd5e1e3ac69bde72e69c66cded746d3db9 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 4 Jun 2021 00:17:05 +0100 Subject: [PATCH] Update arithmetic.rs --- src/arithmetic.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/arithmetic.rs b/src/arithmetic.rs index 09e74518..46481aab 100644 --- a/src/arithmetic.rs +++ b/src/arithmetic.rs @@ -11,7 +11,8 @@ pub use pasta_curves::arithmetic::*; /// field elements to be inverted in a batch. pub trait BatchInvert { /// Consume this iterator and invert each field element (when nonzero), - /// returning the inverse of all nonzero field elements. + /// returning the inverse of all nonzero field elements. Zero elements + /// are left as zero. fn batch_invert(self) -> F; }