Refactor: convert indent from tab to space

This commit is contained in:
siontama committed 2022-07-16 17:20:13 +09:00
1 parent 2417d3e813
commit cdd937cebb
1 file changed
+3 -3
+3 -3
View File
@@ -1301,12 +1301,12 @@ mod array {
impl IterNextIterable for PyArrayIter {}
impl IterNext for PyArrayIter {
fn next(zelf: &Py<Self>, vm: &VirtualMachine) -> PyResult<PyIterReturn> {
zelf.internal.lock().next(|array, pos| {
Ok(match array.read().get(pos, vm) {
zelf.internal.lock().next(|array, pos| {
Ok(match array.read().get(pos, vm) {
Some(item) => PyIterReturn::Return(item?),
None => PyIterReturn::StopIteration(None),
})
})
})
}
}