about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-15 19:09:21 +0000
committerbors <bors@rust-lang.org>2020-07-15 19:09:21 +0000
commit934944186366959b53df5948b25b1cfabd6c71d3 (patch)
tree1e5dcc8164e7a8d31dae67751ee521f97d775fb5 /library/std/src/sys/unix/stack_overflow.rs
parentb3614b42d506d1707379cc978f41931f1872273f (diff)
parenta0640457a912720a5473d7feff40576a2f97df1e (diff)
downloadrust-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