about summary refs log tree commit diff
path: root/tvix/eval/src/value
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-13T13·00+0300
committertazjin <tazjin@tvl.su>2022-09-13T14·41+0000
commit268605140eae3cbfae5ddd18bd83b877e5da5748 (patch)
treecf82bbf9f57162efcb4d70b7fd825afbd0aca40e /tvix/eval/src/value
parentd5ee893fb15f9d2aae676763f12b507ad33243b0 (diff)
fix(tvix/eval): address current clippy lints r/4839
Change-Id: I5288849d0e93511b0b5664fa92f1c6882e4a1356
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6563
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r--tvix/eval/src/value/attrs/tests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tvix/eval/src/value/attrs/tests.rs b/tvix/eval/src/value/attrs/tests.rs
index c9e402247293..a495dec6f27f 100644
--- a/tvix/eval/src/value/attrs/tests.rs
+++ b/tvix/eval/src/value/attrs/tests.rs
@@ -34,9 +34,9 @@ fn test_kv_attrs() {
     let kv_attrs = NixAttrs::construct(
         2,
         vec![
-            value_val.clone(),
+            value_val,
             forty_two_val.clone(),
-            name_val.clone(),
+            name_val,
             meaning_val.clone(),
         ],
     )
@@ -69,9 +69,9 @@ fn test_kv_attrs_iter() {
     let kv_attrs = NixAttrs::construct(
         2,
         vec![
-            value_val.clone(),
+            value_val,
             forty_two_val.clone(),
-            name_val.clone(),
+            name_val,
             meaning_val.clone(),
         ],
     )