about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-06-15 17:40:03 +0900
committerGitHub <noreply@github.com>2021-06-15 17:40:03 +0900
commit1e14d397db323b037a22e6440f85293d938ce6a7 (patch)
treec4481a5b6185f260c498ee8ebc2bb5b9cc4e56cf /src/test/codegen/src-hash-algorithm
parent2d2f1a5e88d6749edc3a51b4d68101e972d2ec25 (diff)
parent7803955cae3dffb37c315e95764df8e949eea590 (diff)
downloadrust-1e14d397db323b037a22e6440f85293d938ce6a7.tar.gz
rust-1e14d397db323b037a22e6440f85293d938ce6a7.zip
Rollup merge of #82179 - mbartlett21:patch-5, r=joshtriplett
Add functions `Duration::try_from_secs_{f32, f64}`

These functions allow constructing a Duration from a floating point value that could be out of range without panicking.

Tracking issue: #83400
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions