rustfmt_nightly::sort

Function version_sort

Source
pub(crate) fn version_sort(a: &str, b: &str) -> Ordering
Expand description

Compare two identifiers based on the version sorting algorithm described in the style guide