jubjub: Fix intra-doc link in SubgroupPoint::from_raw_unchecked

This commit is contained in:
Jack Grigg 2020-08-23 06:27:54 +01:00
parent 8b6c8143a2
commit 9de623e4fa
1 changed files with 2 additions and 0 deletions

View File

@ -1030,6 +1030,8 @@ impl SubgroupPoint {
/// ///
/// This should only be used for hard-coding constants (e.g. fixed generators); in all /// This should only be used for hard-coding constants (e.g. fixed generators); in all
/// other cases, use [`SubgroupPoint::from_bytes`] instead. /// other cases, use [`SubgroupPoint::from_bytes`] instead.
///
/// [`SubgroupPoint::from_bytes`]: SubgroupPoint#impl-GroupEncoding
pub const fn from_raw_unchecked(u: Fq, v: Fq) -> Self { pub const fn from_raw_unchecked(u: Fq, v: Fq) -> Self {
SubgroupPoint(AffinePoint::from_raw_unchecked(u, v).to_extended()) SubgroupPoint(AffinePoint::from_raw_unchecked(u, v).to_extended())
} }