Skip to content

Commit

Permalink
fix: incorrect feature requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
chrjabs committed Feb 13, 2024
1 parent 6bfeb55 commit abbb49a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rustsat/src/encodings/card/dbtotalizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub struct DbTotalizer {
}

impl DbTotalizer {
#[cfg_attr(feature = "internals", visibility::make(pub))]
#[cfg(feature = "internals")]
fn from_raw(root: NodeId, db: TotDb) -> Self {
Self {
root: Some(root),
Expand Down
1 change: 1 addition & 0 deletions rustsat/src/encodings/nodedb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ pub trait NodeById: IndexMut<NodeId, Output = Self::Node> {
/// the connections by multiplier, then merge connections with equal
/// multiplier, then merge resulting connections with
/// [`NodeById::merge_balanced`].
#[cfg(feature = "internals")]
fn merge_thorough(&mut self, cons: &mut [NodeCon]) -> NodeCon
where
Self: Sized,
Expand Down
2 changes: 1 addition & 1 deletion rustsat/src/encodings/pb/dbgte.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct DbGte {
}

impl DbGte {
#[cfg_attr(feature = "internals", visibility::make(pub))]
#[cfg(feature = "internals")]
fn from_raw(root: NodeCon, db: TotDb, max_leaf_weight: usize) -> Self {
Self {
root: Some(root),
Expand Down

0 comments on commit abbb49a

Please sign in to comment.