mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user