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; }