about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-05-03 20:33:46 +0200
committerGitHub <noreply@github.com>2024-05-03 20:33:46 +0200
commit1ff247c40484a8f3c4c3891273f4f9833cd53c00 (patch)
treed9aff13ac6d43a31dce166b7fe8c5efd84a16bda /compiler/rustc_mir_transform/src/coverage/mod.rs
parent613bccc4cac38e88a363a99ec5a3c7e316272831 (diff)
parent0e0042f16ec74bd9b219f4df65c5589636cacd15 (diff)
downloadrust-1ff247c40484a8f3c4c3891273f4f9833cd53c00.tar.gz
rust-1ff247c40484a8f3c4c3891273f4f9833cd53c00.zip
Rollup merge of #124593 - GKFX:cstr-literals-in-api-docs, r=workingjubilee
Describe and use CStr literals in CStr and CString docs

Mention CStr literals in the description of both types, and use them in some of the code samples for CStr. This is intended to make C string literals more discoverable.

Additionally, I don't think the orange "This example is not tested" warnings are very encouraging, so I have made the examples on `CStr` build.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions