about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-28 05:50:00 +0000
committerbors <bors@rust-lang.org>2021-09-28 05:50:00 +0000
commit7b10746ef08041885989eccd2dd6cd3c2f6f0f49 (patch)
tree1c14455b39e32a2cbcc97422919f847c8f2352e1 /library/std/src/sys/unix/process/process_unix.rs
parent8a12be741290b16c29293f87bdb3e8e5129bd4a9 (diff)
parent6f087aedb60ccbed0e1ee05256100e2f80e45f2f (diff)
downloadrust-7b10746ef08041885989eccd2dd6cd3c2f6f0f49.tar.gz
rust-7b10746ef08041885989eccd2dd6cd3c2f6f0f49.zip
Auto merge of #89277 - jyn514:codeblock-edition, r=GuillaumeGomez
Use the correct edition for syntax highlighting doctests

Previously it would unconditionally use edition 2015, which was incorrect.

Helps with https://github.com/rust-lang/rust/issues/89135 in that you can now override the doctest to be 2018 edition instead of being forced to fix the error. This doesn't resolve any of the deeper problems that rustdoc disagrees with most rust users on what a code block is.

cc `@Mark-Simulacrum`
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions