about summary refs log tree commit diff
path: root/library/std/src/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-11-08 15:15:24 +0100
committerGitHub <noreply@github.com>2021-11-08 15:15:24 +0100
commitd9fc7d10414a3b5fb172482911fc39ba2dd6bb37 (patch)
tree6f3d2027183fd2b6e6a6a05f792d5bf76179eefa /library/std/src/sys/unix/process/process_unix.rs
parent931881070a00e869ff52ddfbe243800d256261e8 (diff)
parentaa6f6f47cd7f83e3898b66e53ff30a414b0a0694 (diff)
downloadrust-d9fc7d10414a3b5fb172482911fc39ba2dd6bb37.tar.gz
rust-d9fc7d10414a3b5fb172482911fc39ba2dd6bb37.zip
Rollup merge of #90657 - GuillaumeGomez:one-char-last-line-removed, r=jyn514
Fix bug with `#[doc]` string single-character last lines

Fixes #90618.

This is because `.iter().all(|c| c == '*')` returns `true` if there is no character checked. And in case the last line has only one character, it simply returns `true`, making the last line behind removed.
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions