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

rustdoc: simplify highlight.rs #99337

Merged
merged 1 commit into from
Aug 12, 2022
Merged

Commits on Aug 10, 2022

  1. rustdoc: simplify highlight.rs

    Split render_with_highlighting, which took many optional parameters, into three
    functions for specific purposes, which each take a smaller number of mostly
    required parameters.
    
    Remove some plumbing to pass through an "edition" parameter, which was used
    solely to avoid highlighting some 2021 Edition keywords in non-2021 code.
    jsha committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    5938fd7 View commit details
    Browse the repository at this point in the history