fix typo in internal Scalar docs

This commit is contained in:
Henry de Valence 2017-11-30 16:46:46 -08:00
parent 1caed9a4fc
commit bb9c171487

View file

@ -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],