Rollup merge of #82710 - peter-kehl:FloatToInit_82709, r=sfackler
FloatToInit: Replacing round_unchecked_to --> to_int_unchecked FloatToInit docs: Replacing round_unchecked_to with to_int_unchecked. Bug #82709.
This commit is contained in:
commit
376655eaf6
@ -9,7 +9,7 @@ mod private {
|
||||
pub trait Sealed {}
|
||||
}
|
||||
|
||||
/// Supporting trait for inherent methods of `f32` and `f64` such as `round_unchecked_to`.
|
||||
/// Supporting trait for inherent methods of `f32` and `f64` such as `to_int_unchecked`.
|
||||
/// Typically doesn’t need to be used directly.
|
||||
#[unstable(feature = "convert_float_to_int", issue = "67057")]
|
||||
pub trait FloatToInt<Int>: private::Sealed + Sized {
|
||||
|
Loading…
Reference in New Issue
Block a user