Skip to content

Commit

Permalink
Correct the comment about sorting of ACTIVE_FEATURES.
Browse files Browse the repository at this point in the history
  • Loading branch information
nnethercote committed Oct 8, 2023
1 parent fed7922 commit 7764b66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/rustc_feature/src/active.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ macro_rules! declare_features {
// was set. This is most important for knowing when a particular feature became
// stable (active).
//
// Note that the features are grouped into internal/user-facing and then
// sorted by version inside those groups. This is enforced with tidy.
// Note that the features are sorted by name. This is enforced with tidy.
//
// N.B., `tools/tidy/src/features.rs` parses this information directly out of the
// source, so take care when modifying it.
Expand Down

0 comments on commit 7764b66

Please sign in to comment.