about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-02-17 23:51:14 +0100
committerGitHub <noreply@github.com>2021-02-17 23:51:14 +0100
commitd2232506629b3de71db97694889928bf91330566 (patch)
treeef3d134ec91ee6a8a8a237a7d7b53494f0f450a9 /library/std/src/sys/unix/stack_overflow.rs
parent40e3af5a2131f0f211e2f247faceae4008c94ec9 (diff)
parent7e94641ee956989d57492975a1214fc79dcd1fce (diff)
downloadrust-d2232506629b3de71db97694889928bf91330566.tar.gz
rust-d2232506629b3de71db97694889928bf91330566.zip
Rollup merge of #81860 - osa1:issue81800, r=estebank
Fix SourceMap::start_point

`start_point` needs to return the *first* character's span, but it would
previously call `find_width_of_character_at_span` which returns the span
of the *last* character. The implementation is now fixed.

Other changes:

- Docs for start_point, end_point, find_width_of_character_at_span
  updated

- Minor simplification in find_width_of_character_at_span code

Fixes #81800
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions