Removed only available in 1.46.0 line

This commit is contained in:
TATHAGATA ROY 2023-05-18 12:14:38 +00:00
parent ff08caf17c
commit 6a18997e3c
1 changed files with 0 additions and 4 deletions

View File

@ -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.