about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorThomas de Zeeuw <thomasdezeeuw@gmail.com>2022-01-27 09:52:59 +0100
committerThomas de Zeeuw <thomasdezeeuw@gmail.com>2022-01-27 09:52:59 +0100
commitca9a3c9a9fc7ec854919b2b932a21fc8c5c76d7f (patch)
treeac98bc3395e96f01ab61b9016f0d8a99217d0c27 /compiler/rustc_mir_transform/src/coverage/graph.rs
parentc1cd200922702f2ec5e30d5b5391c0443607d647 (diff)
downloadrust-ca9a3c9a9fc7ec854919b2b932a21fc8c5c76d7f.tar.gz
rust-ca9a3c9a9fc7ec854919b2b932a21fc8c5c76d7f.zip
Make sockaddr_un safe and use copy_nonoverlapping
The creation of libc::sockaddr_un is a safe operation, no need for it to
be unsafe.

This also uses the more performant copy_nonoverlapping instead of an
iterator.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions