diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2023-12-22 16:22:45 -0800 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2023-12-22 16:39:20 -0800 |
| commit | 2e931b541787bbdf444f6edab89cbd8efc3b7eaf (patch) | |
| tree | 75c02acac594a15d322e163a5d31e35c429359a4 /tests/debuginfo/enum-thinlto.rs | |
| parent | f06df2207ed4a7adc34cab93fe82d7d0e22c2cc8 (diff) | |
| download | rust-2e931b541787bbdf444f6edab89cbd8efc3b7eaf.tar.gz rust-2e931b541787bbdf444f6edab89cbd8efc3b7eaf.zip | |
style-guide: Rework version-sorting algorithm
Treat numeric chunks with equal value but differing numbers of leading zeroes as equal, unless we get to the end of the entire string in which case we use "more leading zeroes in the earliest differing chunk" as a tiebreaker. Treat `_` as a word separator, sorting it before anything other than space. Give more examples.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
