mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 04:30:53 +08:00

By extracting the equivalent of i32::cmp() into its own const function, it becomes a lot easier to see what is happening and the logic can be more direct.