diff options
| author | bors <bors@rust-lang.org> | 2020-07-15 19:09:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-15 19:09:21 +0000 |
| commit | 934944186366959b53df5948b25b1cfabd6c71d3 (patch) | |
| tree | 1e5dcc8164e7a8d31dae67751ee521f97d775fb5 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | b3614b42d506d1707379cc978f41931f1872273f (diff) | |
| parent | a0640457a912720a5473d7feff40576a2f97df1e (diff) | |
| download | rust-934944186366959b53df5948b25b1cfabd6c71d3.tar.gz rust-934944186366959b53df5948b25b1cfabd6c71d3.zip | |
Auto merge of #5788 - Leulz:shadow-unrelated-fix-rhs, r=flip1995
Removing RHS snippet from SHADOW_UNRELATED message. Fixes #5703 I am not sure if I reinvented the wheel here, but I could not really find a snippet function that did this truncation, so I created the function. Please tell me if there was a more obvious way to do this, I am new here. :smile: changelog: Truncates multi-line RHS in shadow_unrelated message if it has more than 5 lines.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
