diff options
| author | XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> | 2020-05-29 18:25:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-29 18:25:34 +0200 |
| commit | 692f4ec3b103a36830132bc941c2aa2abea4b7e7 (patch) | |
| tree | b3880938a82cedff657dfb9de707eaeec36e083e | |
| parent | 859863dad25cd5cd1ea15422c7b6bd280c6c6327 (diff) | |
| download | rust-692f4ec3b103a36830132bc941c2aa2abea4b7e7.tar.gz rust-692f4ec3b103a36830132bc941c2aa2abea4b7e7.zip | |
Update RELEASES.md
| -rw-r--r-- | RELEASES.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md index 7ee61c34b70..7cba27e134a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -103,6 +103,11 @@ Compatibility Notes - [`mem::{zeroed, uninitialised, MaybeUninit}` will now panic when used with types that do not allow zero initialization such as `NonZeroU8`.][66059] This was previously a warning. +- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as` + operator has been defined as a saturating operation.][71269] This was previously + undefined behaviour, you can use the `{f64, f32}::to_int_unchecked` methods to + continue using the current behaviour which may desirable in rare performance + sensitive situations. Internal Only ------------- @@ -127,6 +132,7 @@ related tools. [70048]: https://github.com/rust-lang/rust/pull/70048/ [70081]: https://github.com/rust-lang/rust/pull/70081/ [70156]: https://github.com/rust-lang/rust/pull/70156/ +[71269]: https://github.com/rust-lang/rust/pull/71269/ [69838]: https://github.com/rust-lang/rust/pull/69838/ [69929]: https://github.com/rust-lang/rust/pull/69929/ [69661]: https://github.com/rust-lang/rust/pull/69661/ |
