Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay committed Jan 15, 2022
1 parent 0ee41f9 commit 29c2df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program-runtime/src/invoke_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29c2df0

Please sign in to comment.