Skip to content
Snippets Groups Projects
Commit b5b2abc7 authored by Wei Tang's avatar Wei Tang Committed by GitHub
Browse files

Do not implement () for Contains (#9582)

parent 61606a0b
No related merge requests found
......@@ -56,7 +56,7 @@ impl<T, C: Contains<T>> Filter<T> for C {
}
}
#[impl_trait_for_tuples::impl_for_tuples(30)]
#[impl_trait_for_tuples::impl_for_tuples(1, 30)]
impl<T> Contains<T> for Tuple {
fn contains(t: &T) -> bool {
for_tuples!( #(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment