The IntoIterator trait for &TupleWrapper currently has to clone a generic tuple in order to create an Iterator. I would rather that it return a different kind of Iterator that contains references. But what I've tried doesn't work because the conversion from String to an Iterator with type Item = Value requires that I create a new Value::Char to create a Value. Any suggestions would be welcome here.
This issue is in reference to 'tuple.rs' found in 'src/execute/value'. Specifically, it references the implementation of IntoIterator for &TupleWrapper.
The
IntoIteratortrait for&TupleWrappercurrently has to clone a generic tuple in order to create an Iterator. I would rather that it return a different kind of Iterator that contains references. But what I've tried doesn't work because the conversion from String to an Iterator withtype Item = Valuerequires that I create a newValue::Charto create a Value. Any suggestions would be welcome here.This issue is in reference to 'tuple.rs' found in 'src/execute/value'. Specifically, it references the implementation of
IntoIteratorfor&TupleWrapper.