refactor(sort): split long line assignment for improved readability

The assignment of NumInfo::parse result was reformatted by splitting it across two lines to enhance code readability and adhere to line length guidelines.
This commit is contained in:
mattsu
2026-02-01 22:34:06 +01:00
committed by Sylvestre Ledru
parent f79a86805d
commit 5e0d83fd15
+2 -1
View File
@@ -725,7 +725,8 @@ impl<'a> Line<'a> {
.num_info_settings(selector.settings.mode == SortMode::HumanNumeric);
// Debug annotations should ignore thousands separators to match GNU output.
parse_settings.thousands_separator = None;
let (_, num_range) = NumInfo::parse(&self.line[selection.clone()], &parse_settings);
let (_, num_range) =
NumInfo::parse(&self.line[selection.clone()], &parse_settings);
let initial_selection = selection.clone();
// Shorten selection to num_range.