mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
e8c4046841
`cmp_s_u` is a tiny helper function only used by `cmp` and isn't useful on it's own. Making it a nested function of `cmp` makes that clear and as a bonus it's easier to call and doesn't require a `#[must_use]` attribute.