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:
parent
795a934b51
commit
d4763dac9e
@ -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