Skip to content

Commit

Permalink
chore(hlapi): remove useless flags
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeul-zama committed Oct 9, 2024
1 parent 2b14b22 commit 79aba47
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion tfhe/src/high_level_api/integers/signed/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ pub trait FheIntId: IntegerId {}
///
/// [FheInt8]: crate::high_level_api::FheUint8
/// [FheInt16]: crate::high_level_api::FheInt16
#[cfg_attr(all(doc, not(doctest)), doc(cfg(feature = "integer")))]
#[derive(Clone, serde::Deserialize, serde::Serialize, Versionize)]
#[versionize(FheIntVersions)]
pub struct FheInt<Id: FheIntId> {
Expand Down
3 changes: 0 additions & 3 deletions tfhe/src/high_level_api/integers/signed/static_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,12 @@ macro_rules! static_int_type {
#[doc = ""]
#[doc = "See [FheInt]"]
$(#[$outer])*
#[cfg_attr(all(doc, not(doctest)), cfg(feature = "integer"))]
pub type [<FheInt $num_bits>] = FheInt<[<FheInt $num_bits Id>]>;

#[doc = concat!("A compressed signed integer type with ", stringify!($num_bits), " bits")]
#[cfg_attr(all(doc, not(doctest)), cfg(feature = "integer"))]
pub type [<Compressed FheInt $num_bits>] = CompressedFheInt<[<FheInt $num_bits Id>]>;

// Conformance Params
#[cfg_attr(all(doc, not(doctest)), cfg(feature = "integer"))]
pub type [<FheInt $num_bits ConformanceParams>] = FheIntConformanceParams<[<FheInt $num_bits Id>]>;
}
};
Expand Down
1 change: 0 additions & 1 deletion tfhe/src/high_level_api/integers/unsigned/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ pub trait FheUintId: IntegerId {}
/// [FheUint8]: crate::high_level_api::FheUint8
/// [FheUint12]: crate::high_level_api::FheUint12
/// [FheUint16]: crate::high_level_api::FheUint16
#[cfg_attr(all(doc, not(doctest)), doc(cfg(feature = "integer")))]
#[derive(Clone, serde::Deserialize, serde::Serialize, Versionize)]
#[versionize(FheUintVersions)]
pub struct FheUint<Id: FheUintId> {
Expand Down
3 changes: 0 additions & 3 deletions tfhe/src/high_level_api/integers/unsigned/static_.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,11 @@ macro_rules! static_int_type {
#[doc = ""]
#[doc = "See [FheUint]"]
$(#[$outer])*
#[cfg_attr(all(doc, not(doctest)), cfg(feature = "integer"))]
pub type [<FheUint $num_bits>] = FheUint<[<FheUint $num_bits Id>]>;

#[cfg_attr(all(doc, not(doctest)), cfg(feature = "integer"))]
pub type [<Compressed FheUint $num_bits>] = CompressedFheUint<[<FheUint $num_bits Id>]>;

// Conformance Params
#[cfg_attr(all(doc, not(doctest)), cfg(feature = "integer"))]
pub type [<FheUint $num_bits ConformanceParams>] = FheUintConformanceParams<[<FheUint $num_bits Id>]>;
}
};
Expand Down

0 comments on commit 79aba47

Please sign in to comment.