about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-12-11 08:22:29 +0100
committerGitHub <noreply@github.com>2021-12-11 08:22:29 +0100
commit2f8e2ff6ba7194424718e39f0482b6d350b5e170 (patch)
tree07ebd5847fde2d41ab80ddd4fd2889f52848a669 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentc185610ebc19a0fc22e68472483dc69ea10b92fd (diff)
parent348a25044b6f263a61cd41cd3767c3d8d1e8da74 (diff)
downloadrust-2f8e2ff6ba7194424718e39f0482b6d350b5e170.tar.gz
rust-2f8e2ff6ba7194424718e39f0482b6d350b5e170.zip
Rollup merge of #91127 - scottmcm:ptr_to_from_bits, r=dtolnay
Add `<*{const|mut} T>::{to|from}_bits`

Named based on the floating-point methods of the same name, as those are also about returning the *representation* of the value.

Tracking issue: https://github.com/rust-lang/rust/issues/91126

Based on the conversation in https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Adding.20methods.20as.20more.20specific.20versions.20of.20.60as.60/near/238391074

r? `@joshtriplett`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions