From 9de623e4fa37804e690757e0498eaa43864b9d1b Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Sun, 23 Aug 2020 06:27:54 +0100 Subject: [PATCH] jubjub: Fix intra-doc link in SubgroupPoint::from_raw_unchecked --- jubjub/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jubjub/src/lib.rs b/jubjub/src/lib.rs index cb4699bda..d55dd6c9b 100644 --- a/jubjub/src/lib.rs +++ b/jubjub/src/lib.rs @@ -1030,6 +1030,8 @@ impl SubgroupPoint { /// /// This should only be used for hard-coding constants (e.g. fixed generators); in all /// other cases, use [`SubgroupPoint::from_bytes`] instead. + /// + /// [`SubgroupPoint::from_bytes`]: SubgroupPoint#impl-GroupEncoding pub const fn from_raw_unchecked(u: Fq, v: Fq) -> Self { SubgroupPoint(AffinePoint::from_raw_unchecked(u, v).to_extended()) }