diff options
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r-- | tvix/eval/src/value/list.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tvix/eval/src/value/list.rs b/tvix/eval/src/value/list.rs index 31f223fce599..77776c4dce62 100644 --- a/tvix/eval/src/value/list.rs +++ b/tvix/eval/src/value/list.rs @@ -38,4 +38,8 @@ impl NixList { NixList(stack_slice) } + + pub fn into_iter(self) -> std::vec::IntoIter<Value> { + self.0.into_iter() + } } |