From bb9c1714878d9c35c2126f9430100f1b8ca39a17 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Thu, 30 Nov 2017 16:46:46 -0800 Subject: [PATCH] fix typo in internal Scalar docs --- src/scalar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scalar.rs b/src/scalar.rs index 9fb3db2..87decd9 100644 --- a/src/scalar.rs +++ b/src/scalar.rs @@ -75,7 +75,7 @@ pub struct Scalar { /// /// # Invariant /// - /// The integer representing this scalar must be bounded above by 2^255, or equivalently the high bit of `bytes[31]` must be zero. + /// The integer representing this scalar must be bounded above by \\(2\^{255}\\), or equivalently the high bit of `bytes[31]` must be zero. /// // XXX This is pub(crate) so we can write literal constants. If const fns were stable, we could make the Scalar constructors const fns and use those instead. pub(crate) bytes: [u8; 32],