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>2022-01-20 17:10:41 +0100
committerGitHub <noreply@github.com>2022-01-20 17:10:41 +0100
commit6c627d25f67846c80231fb7c61ab655f710f3313 (patch)
treecf107a4c3b52252fb37e0399aab1adb112a69b65 /library/std/src/sys/unix/process/process_unix.rs
parent1cb57e2d2b6400ed6fb6d498cb5639fe6fd5d984 (diff)
parent06b00ad19972c18150fe25a9b3716ffdf5300a83 (diff)
downloadrust-6c627d25f67846c80231fb7c61ab655f710f3313.tar.gz
rust-6c627d25f67846c80231fb7c61ab655f710f3313.zip
Rollup merge of #93038 - GuillaumeGomez:block-doc-comments, r=notriddle
Fix star handling in block doc comments

Fixes #92872.

Some extra explanation about this PR and why https://github.com/rust-lang/rust/pull/92357 created this regression: when we merge doc comment kinds for example in:

```rust
/// he
/**
* hello
*/
#[doc = "boom"]
```

We don't want to remove the empty lines between them. However, to correctly compute the "horizontal trim", we still need it, so instead, I put back a part of the "vertical trim" directly in the "horizontal trim" computation so it doesn't impact the output buffer but allows us to correctly handle the stars.

r? `@camelid`
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions