You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/plugins/ark/mod.rs
+4-4
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@
25
25
//! Ok(arthur.transcript())
26
26
//! }
27
27
//! ```
28
-
//! The type constraint on [`crate::Arthur`] hints the compiler that we are going to be absorbing elements from the group `G` and squeezing challenges in the scalar field `G::ScalarField`. Similarly, we could have been squeezing out bytes.
28
+
//! The type constraint on [`Arthur`][`crate::Arthur`] hints the compiler that we are going to be absorbing elements from the group `G` and squeezing challenges in the scalar field [`G::ScalarField`][`ark_ec::CurveGroup`]. Similarly, we could have been squeezing out bytes.
29
29
//!
30
30
//! ```rust
31
31
//! # use ark_ec::CurveGroup;
@@ -50,8 +50,8 @@
50
50
//! }
51
51
//! ```
52
52
//!
53
-
//! [`Arthur`] is actually more general than this, and can be used with any hash function, over any field.
54
-
//! Let's for instance use [`sha2`] on the above transcript instead of Keccak.
53
+
//! [`Arthur`][`crate::Arthur`] is actually more general than this, and can be used with any hash function, over any field.
54
+
//! Let's for instance use [`sha2`](https://crates.io/crates/sha2) on the above transcript instead of Keccak.
55
55
//!
56
56
//! ```rust
57
57
//! # use ark_ec::CurveGroup;
@@ -76,7 +76,7 @@
76
76
//! # }
77
77
//! ```
78
78
//! No change to the function body is needed.
79
-
//! Now the proving function can be called with `nimue::DigestBridge<sha2::Sha256>`.
79
+
//! Now the proving function can be called with [`nimue::DigestBridge<sha2::Sha256>`][`crate::DigestBridge`].
80
80
//! As easy as that.
81
81
//! More _modern_ hash functions may want to operate over some some field different than $\mathbb{F}_8$,
82
82
//! for instance over the base field of the sponge.
0 commit comments