Skip to content

Commit

Permalink
errors by ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Apr 16, 2024
1 parent 328d99e commit b9e7ba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testcrate/tests/big.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn widen_mul_u128() {
}
}

for (a, b, exp, res) in errors {
for (a, b, exp, res) in &errors {
eprintln!("FAILURE: {a:#036x} * {b:#036x} = {exp:#036x} got {res:#036x}");
}
assert!(errors.is_empty());
Expand Down Expand Up @@ -73,7 +73,7 @@ fn widen_mul_i128() {
}
}

for (a, b, exp, res) in errors {
for (a, b, exp, res) in &errors {
eprintln!("FAILURE: {a:#036x} * {b:#036x} = {exp:#036x} got {res:#036x}");
}
assert!(errors.is_empty());
Expand Down

0 comments on commit b9e7ba0

Please sign in to comment.