From 0cb70ae0322f09e8dbb8dbb04b812fcdf3fdddc1 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Fri, 17 Nov 2017 15:50:58 -0800 Subject: [PATCH] Hide the underlying ExtendedPoint from a Ristretto point --- src/ristretto.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ristretto.rs b/src/ristretto.rs index 240ea19..1c04c45 100644 --- a/src/ristretto.rs +++ b/src/ristretto.rs @@ -560,7 +560,7 @@ impl<'de> Deserialize<'de> for RistrettoPoint { /// `ExtendedPoint`, with custom equality, compression, and /// decompression routines to account for the quotient. #[derive(Copy, Clone)] -pub struct RistrettoPoint(pub ExtendedPoint); +pub struct RistrettoPoint(pub(crate) ExtendedPoint); impl RistrettoPoint { /// Compress in Ristretto format.