Removed only available in 1.46.0 line
This commit is contained in:
parent
ff08caf17c
commit
6a18997e3c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue