From 692f4ec3b103a36830132bc941c2aa2abea4b7e7 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Fri, 29 May 2020 18:25:34 +0200 Subject: [PATCH] Update RELEASES.md --- RELEASES.md | 6 ++++++ 1 file changed, 6 insertions(+) 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/ -- 2.44.0