about summary refs log tree commit diff
path: root/RELEASES.md
diff options
context:
space:
mode:
authorJeong YunWon <69878+youknowone@users.noreply.github.com>2022-08-13 15:51:48 +0900
committerJeong YunWon <jeong@youknowone.org>2022-08-14 02:12:55 +0900
commit29398d7d339c6f8391b3e1f41e57fc3b14ac7628 (patch)
treea0cf0410ceab9a726fc43f4cbf8259f2903ca522 /RELEASES.md
parente8dc8bca2118ec1ed5970790614f0b81e9167f10 (diff)
downloadrust-29398d7d339c6f8391b3e1f41e57fc3b14ac7628.tar.gz
rust-29398d7d339c6f8391b3e1f41e57fc3b14ac7628.zip
Add Duration rounding change to release note
Diffstat (limited to 'RELEASES.md')
-rw-r--r--RELEASES.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md
index e66bf60b7f7..147ff3561a3 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -27,6 +27,7 @@ Libraries
 - [Extend `ptr::null` and `null_mut` to all thin (including extern) types.][94954]
 - [`impl Read and Write for VecDeque<u8>`.][95632]
 - [STD support for the Nintendo 3DS.][95897]
+- [Use rounding in float to Duration conversion methods.][96051]
 - [Make write/print macros eagerly drop temporaries.][96455]
 - [Implement internal traits that enable `[OsStr]::join`.][96881]
 - [Implement `Hash` for `core::alloc::Layout`.][97034]
@@ -99,6 +100,8 @@ Compatibility Notes
 
 - [`#[link]` attributes are now checked more strictly,][96885] which may introduce
   errors for invalid attribute arguments that were previously ignored.
+- [Rounding is now used when converting a float to a `Duration`.][96051] The converted
+  duration can differ slightly from what it was.
 
 Internal Changes
 ----------------
@@ -118,6 +121,7 @@ and related tools.
 [95818]: https://github.com/rust-lang/rust/pull/95818/
 [95897]: https://github.com/rust-lang/rust/pull/95897/
 [95953]: https://github.com/rust-lang/rust/pull/95953/
+[96051]: https://github.com/rust-lang/rust/pull/96051/
 [96296]: https://github.com/rust-lang/rust/pull/96296/
 [96455]: https://github.com/rust-lang/rust/pull/96455/
 [96737]: https://github.com/rust-lang/rust/pull/96737/