Skip to content

Commit 692f4ec

Browse files
authored
Update RELEASES.md
1 parent 859863d commit 692f4ec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

RELEASES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ Compatibility Notes
103103
- [`mem::{zeroed, uninitialised, MaybeUninit}` will now panic when used with types
104104
that do not allow zero initialization such as `NonZeroU8`.][66059] This was
105105
previously a warning.
106+
- [In 1.45.0 (the next release) converting a `f64` to `u32` using the `as`
107+
operator has been defined as a saturating operation.][71269] This was previously
108+
undefined behaviour, you can use the `{f64, f32}::to_int_unchecked` methods to
109+
continue using the current behaviour which may desirable in rare performance
110+
sensitive situations.
106111

107112
Internal Only
108113
-------------
@@ -127,6 +132,7 @@ related tools.
127132
[70048]: https://github.com/rust-lang/rust/pull/70048/
128133
[70081]: https://github.com/rust-lang/rust/pull/70081/
129134
[70156]: https://github.com/rust-lang/rust/pull/70156/
135+
[71269]: https://github.com/rust-lang/rust/pull/71269/
130136
[69838]: https://github.com/rust-lang/rust/pull/69838/
131137
[69929]: https://github.com/rust-lang/rust/pull/69929/
132138
[69661]: https://github.com/rust-lang/rust/pull/69661/

0 commit comments

Comments
 (0)