This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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
107112Internal 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/
You can’t perform that action at this time.
0 commit comments