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:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-02-17 13:46:52 +0900
committerGitHub <noreply@github.com>2020-02-17 13:46:52 +0900
commitc3fed9fabd182a9479ada08d21313a9ed942436c (patch)
treedf8fcb9793b01ba754b0ad67f7dd1ef7f65da67d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent5f818f94e762a6a371b3ecc5261facf4952bf432 (diff)
parent943e65396d7bc7b91bcc30407d323d06f4b20a22 (diff)
downloadrust-c3fed9fabd182a9479ada08d21313a9ed942436c.tar.gz
rust-c3fed9fabd182a9479ada08d21313a9ed942436c.zip
Rollup merge of #68701 - amosonn:patch-2, r=RalfJung
Improve #Safety of various methods in core::ptr

For `read`, `read_unaligned`,`read_volatile`, `replace`, and `drop_in_place`:

- The value they point to must be properly initialized

For `replace`, additionally:

- The pointer must be readable
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions