We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9144109 commit 050bf45Copy full SHA for 050bf45
1 file changed
vm/src/obj/objmap.rs
@@ -14,7 +14,7 @@ fn map_new(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
14
let function = &args.args[1];
15
let iterables = &args.args[2..];
16
let iterators = iterables
17
- .into_iter()
+ .iter()
18
.map(|iterable| objiter::get_iter(vm, iterable))
19
.collect::<Result<Vec<_>, _>>()?;
20
Ok(PyObject::new(
0 commit comments