From bdd0d35ed5fb37b8d4d838a002c545ae1376f7fb Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Fri, 1 Dec 2023 16:59:00 +0100 Subject: [PATCH] fix: remove with_feature (#1733) The `PoRepConfig::with_feature()` function is not used anywhere, hence remove it. --- filecoin-proofs/src/types/porep_config.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/filecoin-proofs/src/types/porep_config.rs b/filecoin-proofs/src/types/porep_config.rs index b86d5a912..9af4c4da8 100644 --- a/filecoin-proofs/src/types/porep_config.rs +++ b/filecoin-proofs/src/types/porep_config.rs @@ -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) {