From 0ab60b93eec13bb42d0989d7cd1459f3a810d2eb Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Thu, 5 Jul 2018 13:34:02 -0700 Subject: [PATCH] Update wording on Scalar::invert to use self --- src/scalar.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scalar.rs b/src/scalar.rs index 705034f..77704af 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -522,11 +522,11 @@ impl Scalar { Scalar{ bytes: s_bytes } } - /// Compute the multiplicative inverse of this scalar. + /// Given a nonzero `Scalar`, compute its multiplicative inverse. /// /// # Warning /// - /// All input `Scalars` **MUST** be nonzero. If you cannot + /// `self` **MUST** be nonzero. If you cannot /// *prove* that this is the case, you **SHOULD NOT USE THIS /// FUNCTION**. ///