Skip to content

Commit

Permalink
fix: remove with_feature (#1733)
Browse files Browse the repository at this point in the history
The `PoRepConfig::with_feature()` function is not used anywhere, hence
remove it.
  • Loading branch information
vmx authored Dec 1, 2023
1 parent 71b3c4b commit bdd0d35
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions filecoin-proofs/src/types/porep_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ impl PoRepConfig {
}
}

#[inline]
pub fn with_feature(mut self, feat: ApiFeature) -> Self {
self.enable_feature(feat);
self
}

#[inline]
pub fn enable_feature(&mut self, feat: ApiFeature) {
if !self.feature_enabled(feat) {
Expand Down

0 comments on commit bdd0d35

Please # to comment.