diff options
| 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 |
| commit | 7e94641ee956989d57492975a1214fc79dcd1fce (patch) | |
| tree | 826b415e3ed32477dd0e3e9629ea3272144c3a82 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 (diff) | |
| download | rust-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
