Change Coordinates attrs back to pub(crate)

This commit is contained in:
David Nevado 2022-03-12 15:42:57 +01:00
parent 8042906484
commit 8a3643682f
No known key found for this signature in database
GPG key ID: 30807CB0B8A17E6C

View file

@ -134,10 +134,8 @@ pub trait CurveAffine:
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))] #[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
#[derive(Clone, Copy, Debug, Default)] #[derive(Clone, Copy, Debug, Default)]
pub struct Coordinates<C: CurveAffine> { pub struct Coordinates<C: CurveAffine> {
/// x-coordinate of the EC point. pub(crate) x: C::Base,
pub x: C::Base, pub(crate) y: C::Base,
/// y-coordinate of the EC point.
pub y: C::Base,
} }
#[cfg(feature = "alloc")] #[cfg(feature = "alloc")]