From 29c2df0ee02c4e1d1c0226c706c613af4f94377b Mon Sep 17 00:00:00 2001 From: Jack May Date: Fri, 14 Jan 2022 14:59:23 -0800 Subject: [PATCH] clippy --- program-runtime/src/invoke_context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program-runtime/src/invoke_context.rs b/program-runtime/src/invoke_context.rs index aa18533e4bc332..7fcf67d9868576 100644 --- a/program-runtime/src/invoke_context.rs +++ b/program-runtime/src/invoke_context.rs @@ -1018,7 +1018,7 @@ impl<'a> InvokeContext<'a> { // Push a sibling instruction pub fn add_sibling_instruction(&mut self, instruction: Instruction) { - self.sibling_instructions.push(instruction.clone()); + self.sibling_instructions.push(instruction); } /// Get a sibling instruction, reverse ordered or last added is index 0