diff --git a/baby-bear/src/baby_bear.rs b/baby-bear/src/baby_bear.rs index 88f03180..d3e6b332 100644 --- a/baby-bear/src/baby_bear.rs +++ b/baby-bear/src/baby_bear.rs @@ -45,7 +45,7 @@ pub struct BabyBear { impl BabyBear { /// create a new `BabyBear` from a canonical `u32`. #[inline] - pub(crate) const fn new(n: u32) -> Self { + pub const fn new(n: u32) -> Self { Self { value: to_monty(n) } } }