Skip to content

Commit 0f8c4ad

Browse files
committed
Fix some links in documentation.
1 parent c1052b3 commit 0f8c4ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/plugins/ark/mod.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//! Ok(arthur.transcript())
2626
//! }
2727
//! ```
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.
2929
//!
3030
//! ```rust
3131
//! # use ark_ec::CurveGroup;
@@ -50,8 +50,8 @@
5050
//! }
5151
//! ```
5252
//!
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.
5555
//!
5656
//! ```rust
5757
//! # use ark_ec::CurveGroup;
@@ -76,7 +76,7 @@
7676
//! # }
7777
//! ```
7878
//! 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`].
8080
//! As easy as that.
8181
//! More _modern_ hash functions may want to operate over some some field different than $\mathbb{F}_8$,
8282
//! for instance over the base field of the sponge.

0 commit comments

Comments
 (0)