Skip to content

Commit 376655e

Browse files
authored
Rollup merge of rust-lang#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 rust-lang#82709.
2 parents 651f53e + d4763da commit 376655e

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/convert

1 file changed

+1
-1
lines changed

library/core/src/convert/num.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mod private {
99
pub trait Sealed {}
1010
}
1111

12-
/// Supporting trait for inherent methods of `f32` and `f64` such as `round_unchecked_to`.
12+
/// Supporting trait for inherent methods of `f32` and `f64` such as `to_int_unchecked`.
1313
/// Typically doesn’t need to be used directly.
1414
#[unstable(feature = "convert_float_to_int", issue = "67057")]
1515
pub trait FloatToInt<Int>: private::Sealed + Sized {

0 commit comments

Comments
 (0)