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