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 rustdoc highlighting of & and * #38569

Merged
merged 1 commit into from
Jan 12, 2017

Commits on Dec 23, 2016

  1. Fix rustdoc highlighting of & and *.

    Whitespace tokens were included, so the span check used with `&` was
    incorrect, and it was never highlighted as kw-2.
    
    The `*` in `*foo` and `*const T` should also be highlighted kw-2, so I
    added them. Note that this *will* cause mishighlighting of code like
    `1*2`, but that should have been written `1 * 2`. Same deal with `1&2`.
    chris-morgan committed Dec 23, 2016
    Configuration menu
    Copy the full SHA
    c9a6e87 View commit details
    Browse the repository at this point in the history