From 704ed65cd2cee4a4ebb3cfa963ee005c02d778ef Mon Sep 17 00:00:00 2001 From: Bogdan Opanchuk Date: Sun, 8 Dec 2024 10:41:25 -0800 Subject: [PATCH] Make Signed and Bounded create-private --- synedrion/src/uint/bounded.rs | 2 +- synedrion/src/uint/signed.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/synedrion/src/uint/bounded.rs b/synedrion/src/uint/bounded.rs index a31bbfd..ad0632c 100644 --- a/synedrion/src/uint/bounded.rs +++ b/synedrion/src/uint/bounded.rs @@ -64,7 +64,7 @@ where into = "PackedBounded", bound = "T: Integer + Encoding + crypto_bigint::Bounded" )] -pub struct Bounded { +pub(crate) struct Bounded { /// bound on the bit size of the value bound: u32, value: T, diff --git a/synedrion/src/uint/signed.rs b/synedrion/src/uint/signed.rs index fcd5b26..6831d5f 100644 --- a/synedrion/src/uint/signed.rs +++ b/synedrion/src/uint/signed.rs @@ -59,7 +59,7 @@ where into = "PackedSigned", bound = "T: Integer + Encoding + crypto_bigint::Bounded + ConditionallySelectable" )] -pub struct Signed { +pub(crate) struct Signed { /// bound on the bit size of the absolute value bound: u32, value: T,