Skip to content

Commit 5f5478d

Browse files
authored
Merge pull request RustPython#1968 from youknowone/fix-clippy
Fix clippy warning
2 parents 50770f5 + 82a596b commit 5f5478d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vm/src/function.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -563,11 +563,11 @@ macro_rules! into_py_native_func_tuple {
563563
}
564564

565565
into_py_native_func_tuple!();
566-
into_py_native_func_tuple!((a, A));
567-
into_py_native_func_tuple!((a, A), (b, B));
568-
into_py_native_func_tuple!((a, A), (b, B), (c, C));
569-
into_py_native_func_tuple!((a, A), (b, B), (c, C), (d, D));
570-
into_py_native_func_tuple!((a, A), (b, B), (c, C), (d, D), (e, E));
566+
into_py_native_func_tuple!((v1, T1));
567+
into_py_native_func_tuple!((v1, T1), (v2, T2));
568+
into_py_native_func_tuple!((v1, T1), (v2, T2), (v3, T3));
569+
into_py_native_func_tuple!((v1, T1), (v2, T2), (v3, T3), (v4, T4));
570+
into_py_native_func_tuple!((v1, T1), (v2, T2), (v3, T3), (v4, T4), (v5, T5));
571571

572572
/// Tests that the predicate is True on a single value, or if the value is a tuple a tuple, then
573573
/// test that any of the values contained within the tuples satisfies the predicate. Type parameter

0 commit comments

Comments
 (0)