From e31f8f735f72fa1d71f4a030ff778ebe640e9fb1 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 24 Sep 2022 16:38:16 +0300 Subject: chore(tvix/eval): fix all current clippy lints Change-Id: I28d6af8cb408f8427a75d30b9120aaa809a1ea40 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6784 Reviewed-by: sterni Tested-by: BuildkiteCI --- tvix/eval/src/compiler/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/eval/src/compiler') diff --git a/tvix/eval/src/compiler/mod.rs b/tvix/eval/src/compiler/mod.rs index dab91a7f56d3..bae58434b3a1 100644 --- a/tvix/eval/src/compiler/mod.rs +++ b/tvix/eval/src/compiler/mod.rs @@ -553,7 +553,7 @@ impl Compiler<'_> { } // Push the set onto the stack - self.compile(slot, set.clone()); + self.compile(slot, set); // Compile each key fragment and emit access instructions. // @@ -604,7 +604,7 @@ impl Compiler<'_> { path: ast::Attrpath, default: ast::Expr, ) { - self.compile(slot, set.clone()); + self.compile(slot, set); let mut jumps = vec![]; for fragment in path.attrs() { -- cgit 1.4.1