Skip to content

Commit

Permalink
Merge pull request #861 from piodul/clippy-fixes-1.74
Browse files Browse the repository at this point in the history
value_tests: fix clippy's new complaint about needless_borrows_for_generic_args
  • Loading branch information
Lorak-mmk authored Nov 17, 2023
2 parents 270e3dc + 04b5420 commit e1c9105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scylla-cql/src/frame/value_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -904,9 +904,9 @@ fn check_ref_tuple() {
}
let s = String::from("hello");
let tuple: ((&str,),) = ((&s,),);
assert_has_batch_values(&tuple);
assert_has_batch_values::<&_>(&tuple);
let tuple2: ((&str, &str), (&str, &str)) = ((&s, &s), (&s, &s));
assert_has_batch_values(&tuple2);
assert_has_batch_values::<&_>(&tuple2);
}

#[test]
Expand Down

0 comments on commit e1c9105

Please sign in to comment.