Update documentation of `InputWeightPrediction`
The doc was written before alternative constructors existed, update it.
This commit is contained in:
parent
6fec1789b9
commit
6cec19f6d3
|
@ -1329,7 +1329,8 @@ pub const fn predict_weight_from_slices(
|
||||||
/// Weight prediction of an individual input.
|
/// Weight prediction of an individual input.
|
||||||
///
|
///
|
||||||
/// This helper type collects information about an input to be used in [`predict_weight`] function.
|
/// This helper type collects information about an input to be used in [`predict_weight`] function.
|
||||||
/// It can only be created using the [`new`](InputWeightPrediction::new) function.
|
/// It can only be created using the [`new`](InputWeightPrediction::new) function or using other
|
||||||
|
/// associated constants/methods.
|
||||||
#[derive(Copy, Clone, Debug)]
|
#[derive(Copy, Clone, Debug)]
|
||||||
pub struct InputWeightPrediction {
|
pub struct InputWeightPrediction {
|
||||||
script_size: usize,
|
script_size: usize,
|
||||||
|
|
Loading…
Reference in New Issue