mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Refactor: convert indent from tab to space
This commit is contained in:
1 parent
2417d3e813
commit
cdd937cebb
1 file changed
+3
-3
+3
-3
@@ -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),
|
||||
})
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user