Skip to content

Commit

Permalink
Docstring and #[doc(hidden)] for Montgomery form inside of Fp mod…
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBrousseau authored Sep 13, 2023
1 parent 85546e4 commit 494830d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ff/src/fields/models/fp/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ pub trait FpConfig<const N: usize>: Send + Sync + 'static + Sized {
Eq(bound = "")
)]
pub struct Fp<P: FpConfig<N>, const N: usize>(
/// Contains the element in Montgomery form for efficient multiplication.
/// To convert an element to a [`BigInt`](struct@BigInt), use `into_bigint` or `into`.
#[doc(hidden)]
pub BigInt<N>,
#[derivative(Debug = "ignore")]
#[doc(hidden)]
Expand Down

0 comments on commit 494830d

Please sign in to comment.