Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
brockelmore committed Jul 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 2daf5c3 commit 615ad5e
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crates/solc-expressions/src/func_call/helper.rs
Original file line number Diff line number Diff line change
@@ -257,12 +257,12 @@ pub trait CallerHelper: AnalyzerBackend<Expr = Expression, ExprErr = ExprErr> +
tmp_literals[target_idx] = literals[i];
});
} else {
tmp_inputs = inputs.clone();
tmp_literals = literals.clone();
tmp_inputs.clone_from(&inputs);
tmp_literals.clone_from(&literals);
}
} else {
tmp_inputs = inputs.clone();
tmp_literals = literals.clone();
tmp_inputs.clone_from(&inputs);
tmp_literals.clone_from(&literals);
}

params
2 changes: 1 addition & 1 deletion crates/solc-expressions/src/literal.rs
Original file line number Diff line number Diff line change
@@ -842,7 +842,7 @@ mod tests {

#[test]
fn test_hex_literals_multiple() -> Result<()> {
let hex_literals = vec![
let hex_literals = [
HexLiteral {
hex: "7B".to_string(), // 123 in decimal
loc: Loc::File(0, 0, 0),

0 comments on commit 615ad5e

Please sign in to comment.