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

Reduce boilerplate for BytePos and CharPos #77022

Merged
merged 2 commits into from
Sep 22, 2020
Merged

Commits on Sep 21, 2020

  1. Configuration menu
    Copy the full SHA
    b4b4a2f View commit details
    Browse the repository at this point in the history
  2. Remove cast to usize for BytePos and CharPos

    The case shouldn't be necessary and implicitly truncating BytePos is not
    desirable.
    Juici committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    9a1f177 View commit details
    Browse the repository at this point in the history