about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-20 17:19:32 +0200
committerGitHub <noreply@github.com>2023-07-20 17:19:32 +0200
commit80f749dfa078abc6bad96a4106f46a2853a4b898 (patch)
tree86c009efcd8fe9afa94961571c12c0cc7fe5db58 /library/std/src/sys/unix/process/process_unix.rs
parent6b53175b5d8558b69f5f46ce969fe42fb457e01b (diff)
parent13f58a8ea02fa6d62b0c44ceda9d5332562e1339 (diff)
downloadrust-80f749dfa078abc6bad96a4106f46a2853a4b898.tar.gz
rust-80f749dfa078abc6bad96a4106f46a2853a4b898.zip
Rollup merge of #110765 - wackbyte:fix-defaultness-position, r=fmease,GuillaumeGomez
rustdoc: fix position of `default` in method rendering

With the following code:
```rs
#![feature(specialization)]

pub trait A {
    unsafe fn a();
}

impl A for () {
    default unsafe fn a() {}
}
```
rustdoc would render the `impl` of `a` as
```rs
unsafe default fn a()
```
which is inconsistent with the actual position of `default`.
This PR fixes this issue.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions