Skip to content

Commit 57a5470

Browse files
committed
Refactor: line breaks based on many arguments
1 parent 9e3079c commit 57a5470

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

vm/src/builtins/range.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,12 @@ impl Iterable for PyRange {
476476
zelf.step.as_bigint(),
477477
zelf.len(),
478478
);
479-
if let (Some(start), Some(step), Some(_), Some(_)) =
480-
(start.to_isize(), step.to_isize(), stop.to_isize(), (start + step).to_isize())
481-
{
479+
if let (Some(start), Some(step), Some(_), Some(_)) = (
480+
start.to_isize(),
481+
step.to_isize(),
482+
stop.to_isize(),
483+
(start + step).to_isize(),
484+
) {
482485
Ok(PyRangeIterator {
483486
index: AtomicCell::new(0),
484487
start,

0 commit comments

Comments
 (0)