diff options
-rw-r--r-- | tvix/eval/src/builtins/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs index a8f4d1562d52..f9302deab84b 100644 --- a/tvix/eval/src/builtins/mod.rs +++ b/tvix/eval/src/builtins/mod.rs @@ -457,9 +457,7 @@ mod pure_builtins { .await .to_str()?; - res.entry(key) - .or_insert_with(imbl::Vector::new) - .push_back(val); + res.entry(key).or_default().push_back(val); } Ok(Value::attrs(NixAttrs::from_iter( res.into_iter() |