about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-04-11 21:31:41 +0200
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-06-07 16:42:26 +0200
commit0dda42bc143309e3036341298414269351627528 (patch)
tree459ba8527f3b0cc13a8a5629e0bca9e794aba9a8 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent1851f0802e148bb7fa0bfd7dabcb7397bf371b0b (diff)
downloadrust-0dda42bc143309e3036341298414269351627528.tar.gz
rust-0dda42bc143309e3036341298414269351627528.zip
Improve the safety docs for `CStr`
Namely, the two functions `from_ptr` and `from_bytes_with_nul_unchecked`.
Before, this functions didn't state the requirements clearly enough,
and I was not immediately able to find them like for other functions.

This doesn't change the content of the docs, but simply rewords them for
clarity.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions