Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SourceMap::start_point #81860

Merged
merged 1 commit into from
Feb 18, 2021
Merged

Fix SourceMap::start_point #81860

merged 1 commit into from
Feb 18, 2021

Commits on Feb 7, 2021

  1. 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 rust-lang#81800
    osa1 committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    7e94641 View commit details
    Browse the repository at this point in the history