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

Add AsciiSet::EMPTY and boolean operators #969

Merged
merged 3 commits into from
Sep 19, 2024
Merged

Commits on Sep 19, 2024

  1. Add AsciiSet::EMPTY and impl ops::Add for AsciiSet

    In RFCs, the sets of characters to percent-encode are often defined as
    the union of multiple sets. This change adds an `EMPTY` constant to
    `AsciiSet` and implements the `Add` trait for `AsciiSet` so that sets
    can be combined with the `+` operator.
    
    AsciiSet now derives `Debug`, `PartialEq`, and `Eq` so that it can be
    used in tests.
    joshka committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    360b17e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9f44f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3407c40 View commit details
    Browse the repository at this point in the history