diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-03-03 16:27:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-03 16:27:46 +0900 |
| commit | 376655eaf6cb07660d816a99bc624fc1d1fa1bd8 (patch) | |
| tree | c414beb8af0b2bc606bde965f3e656ff382da75f | |
| parent | 651f53e5179c6babf898d54c89fa18cf355884a3 (diff) | |
| parent | d4763dac9e8a5984244e5bdc852dcfedff6234c2 (diff) | |
| download | rust-376655eaf6cb07660d816a99bc624fc1d1fa1bd8.tar.gz rust-376655eaf6cb07660d816a99bc624fc1d1fa1bd8.zip | |
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.
| -rw-r--r-- | library/core/src/convert/num.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/num.rs b/library/core/src/convert/num.rs index 2dd5e813d6f..5b113610a5d 100644 --- a/library/core/src/convert/num.rs +++ b/library/core/src/convert/num.rs @@ -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 { |
