about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorÖmer Sinan Ağacan <omeragacan@gmail.com>2021-02-07 23:13:36 +0300
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2021-02-07 23:23:09 +0300
commit7e94641ee956989d57492975a1214fc79dcd1fce (patch)
tree826b415e3ed32477dd0e3e9629ea3272144c3a82 /library/std/src/sys/unix/stack_overflow.rs
parent36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 (diff)
downloadrust-7e94641ee956989d57492975a1214fc79dcd1fce.tar.gz
rust-7e94641ee956989d57492975a1214fc79dcd1fce.zip
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