Skip to content

Commit

Permalink
make new pub
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirhemo committed Feb 27, 2024
1 parent 37c650c commit 18fe190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baby-bear/src/baby_bear.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
}
}
Expand Down

0 comments on commit 18fe190

Please sign in to comment.