diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-14 23:43:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 23:43:46 +0200 |
commit | 03a521b4fecf74d21278dab6a6034587da7b9dd9 (patch) | |
tree | 28203058d86c8f6931d8d3f8c68ccb09b6719be3 /tests/rustdoc-js-std/parser-errors.js | |
parent | 62a9c32848e2b2cddf86ce6f4338aa66c2201580 (diff) | |
parent | c9948f5c5f5cc49a74f04e33a1b0cf6ed6a22b93 (diff) | |
download | rust-03a521b4fecf74d21278dab6a6034587da7b9dd9.tar.gz |
Rollup merge of #103059 - beetrees:duration-from-negative-zero, r=thomcc
Fix `Duration::{try_,}from_secs_f{32,64}(-0.0)`
Make `Duration::{try_,}from_secs_f{32,64}(-0.0)` return `Duration::ZERO` (as they did before #90247) instead of erroring/panicking.
I'll update this PR to remove the `#![feature(duration_checked_float)]` if #102271 is merged before this PR.
Tracking issue for `try_from_secs_f{32,64}`: #83400
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions