Change Coordinates fields to pub

This commit is contained in:
David Nevado 2022-03-07 11:19:15 +01:00
parent de99732e20
commit 8042906484
No known key found for this signature in database
GPG key ID: 30807CB0B8A17E6C

View file

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