about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-12-22 16:22:45 -0800
committerJosh Triplett <josh@joshtriplett.org>2023-12-22 16:39:20 -0800
commit2e931b541787bbdf444f6edab89cbd8efc3b7eaf (patch)
tree75c02acac594a15d322e163a5d31e35c429359a4 /tests/debuginfo/enum-thinlto.rs
parentf06df2207ed4a7adc34cab93fe82d7d0e22c2cc8 (diff)
downloadrust-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