mirror of
https://github.com/nushell/nushell.git
synced 2024-12-16 04:01:43 +01:00
clippy fix
This commit is contained in:
parent
9baf720156
commit
c114f41545
@ -66,10 +66,10 @@ fn rows_to_skip(count: i64, rows: Option<i64>) -> i64 {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if end_rows_desired < count {
|
if end_rows_desired < count {
|
||||||
return count - end_rows_desired;
|
count - end_rows_desired
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
0
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
Loading…
Reference in New Issue
Block a user