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

Make some Ordering methods const #75463

Merged
merged 4 commits into from
Aug 31, 2020
Merged

Make some Ordering methods const #75463

merged 4 commits into from
Aug 31, 2020

Commits on Aug 12, 2020

  1. Make some Ordering methods const

    Constify the following methods of `core::cmp::Ordering`:
     - `reverse`
     - `then`
    
    Possible because of rust-lang#49146 (Allow `if` and `match` in constants).
    CDirkx committed Aug 12, 2020
    Configuration menu
    Copy the full SHA
    6b0d44e View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2020

  1. Configuration menu
    Copy the full SHA
    5fac991 View commit details
    Browse the repository at this point in the history
  2. Stabilize feature const_ordering

    CDirkx committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    89fc3fb View commit details
    Browse the repository at this point in the history
  3. Update since to correct release

    `const_ordering` will stabilize in version 1.48.0
    CDirkx committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    12f4624 View commit details
    Browse the repository at this point in the history