From 6a18997e3c9e99f722d9117a1041c09ffdb5d242 Mon Sep 17 00:00:00 2001 From: TATHAGATA ROY <98920199+roy9495@users.noreply.github.com> Date: Thu, 18 May 2023 12:14:38 +0000 Subject: [PATCH] Removed only available in 1.46.0 line --- bitcoin/src/blockdata/transaction.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bitcoin/src/blockdata/transaction.rs b/bitcoin/src/blockdata/transaction.rs index 9c49c8bd..255fea61 100644 --- a/bitcoin/src/blockdata/transaction.rs +++ b/bitcoin/src/blockdata/transaction.rs @@ -1285,8 +1285,6 @@ const fn predict_weight_internal( /// Predicts the weight of a to-be-constructed transaction in const context. /// -/// *Important: only available in Rust 1.46+* -/// /// This is a `const` version of [`predict_weight`] which only allows slices due to current Rust /// limitations around `const fn`. Because of these limitations it may be less efficient than /// `predict_weight` and thus is intended to be only used in `const` context. @@ -1404,8 +1402,6 @@ impl InputWeightPrediction { /// Computes the prediction for a single input in `const` context. /// - /// *Important: only available in Rust 1.46+* - /// /// This is a `const` version of [`new`](Self::new) which only allows slices due to current Rust /// limitations around `const fn`. Because of these limitations it may be less efficient than /// `new` and thus is intended to be only used in `const` context.