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:
authorcarbotaniuman <41451839+carbotaniuman@users.noreply.github.com>2020-09-09 13:39:48 -0500
committercarbotaniuman <41451839+carbotaniuman@users.noreply.github.com>2020-09-09 13:39:48 -0500
commit8f43fa09893b664e4ceb4cc8c7815fa5ab20c10e (patch)
tree209b6a7559a512d6a2f96621026a2a1d6993e5d7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent493c037699603388a00010d96339d84e84e361c6 (diff)
downloadrust-8f43fa09893b664e4ceb4cc8c7815fa5ab20c10e.tar.gz
rust-8f43fa09893b664e4ceb4cc8c7815fa5ab20c10e.zip
Add WeakInner<'_> and have Weak::inner() return it
This avoids overlapping a reference covering the data field,
which may be changed due in concurrent conditions. This fully
fixed the UB mainfested with `new_cyclic`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions