Skip to content

Commit d22855e

Browse files
github-actions[bot]youknowone
authored andcommitted
Auto-format: cargo fmt --all
1 parent 88953ed commit d22855e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/vm/src/builtins/iter.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,9 @@ impl PySequenceIterator {
196196
if let Some(obj) = obj {
197197
let seq = obj.sequence_unchecked();
198198
match seq.length_opt(vm) {
199-
Some(len) => len.map(|len| {
200-
PyInt::from(len.saturating_sub(position)).into_pyobject(vm)
201-
}),
199+
Some(len) => {
200+
len.map(|len| PyInt::from(len.saturating_sub(position)).into_pyobject(vm))
201+
}
202202
None => Ok(vm.ctx.not_implemented()),
203203
}
204204
} else {

0 commit comments

Comments
 (0)