mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 01:24:58 +02:00
Run a round of clippy --fix to fix a ton of lints (#7006)
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com> Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
This commit is contained in:
@ -230,7 +230,7 @@ fn override_alignments(
|
||||
index_present: bool,
|
||||
alignments: Alignments,
|
||||
) {
|
||||
let offset = if header_present { 1 } else { 0 };
|
||||
let offset = usize::from(header_present);
|
||||
let (count_rows, count_columns) = table.shape();
|
||||
for row in offset..count_rows {
|
||||
for col in 0..count_columns {
|
||||
|
Reference in New Issue
Block a user