mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
Rollup merge of #159273 - kn1g78:tidy-handle-large-numeric-sorts, r=clubby789
tidy: document u64 limit for numeric sort keys The `tidy-alphabetical` checker uses natural sorting for numeric sequences, parsing each sequence as `u64`. Document this limit so that numeric sequences in marked lists remain within the supported range.
This commit is contained in:
@@ -9,6 +9,8 @@
|
||||
//! // tidy-alphabetical-end
|
||||
//! ```
|
||||
//!
|
||||
//! Numeric sequences are parsed as `u64` values, so each sequence must fit within `u64`.
|
||||
//!
|
||||
//! Empty lines and lines starting (ignoring spaces) with `//` or `#` (except those starting with
|
||||
//! `#!`) are considered comments are are sorted together with the next line (but do not affect
|
||||
//! sorting).
|
||||
|
||||
Reference in New Issue
Block a user