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:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-13 20:21:13 +0200
committerGitHub <noreply@github.com>2020-09-13 20:21:13 +0200
commitf9b9467866cf828fb53789ee2a86700c0cf76b9a (patch)
tree76354428753764b290be1c10e14ea65a23e7c81b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent148b24f7963e4242563dfb91455047426e60f140 (diff)
parentaa68aaa8e1b6c667987b71a83c332f1ce0988e54 (diff)
downloadrust-f9b9467866cf828fb53789ee2a86700c0cf76b9a.tar.gz
rust-f9b9467866cf828fb53789ee2a86700c0cf76b9a.zip
Rollup merge of #76640 - fusion-engineering-forks:synconcecell-drop, r=matklad
Simplify SyncOnceCell's `take` and `drop`.

Prevents copies by using `assume_init_read` and `assume_init_drop`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions