From cdd937cebbbb118f2a43a44a533e6458156b3f72 Mon Sep 17 00:00:00 2001 From: siontama Date: Sat, 16 Jul 2022 17:20:13 +0900 Subject: [PATCH] Refactor: convert indent from tab to space --- stdlib/src/array.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stdlib/src/array.rs b/stdlib/src/array.rs index 2c31b7351..ff4ba2918 100644 --- a/stdlib/src/array.rs +++ b/stdlib/src/array.rs @@ -1301,12 +1301,12 @@ mod array { impl IterNextIterable for PyArrayIter {} impl IterNext for PyArrayIter { fn next(zelf: &Py, vm: &VirtualMachine) -> PyResult { - 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), }) - }) + }) } }