diff --git a/src/generics/assoc_items/the_problem.md b/src/generics/assoc_items/the_problem.md index e55c42fb2b..dca8f9b33f 100644 --- a/src/generics/assoc_items/the_problem.md +++ b/src/generics/assoc_items/the_problem.md @@ -18,7 +18,7 @@ struct Container(i32, i32); // A trait which checks if 2 items are stored inside of container. // Also retrieves first or last value. trait Contains { - fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`. + fn contains(&self, _: &A, _: &B) -> bool; // Explicitly requires `A` and `B`. fn first(&self) -> i32; // Doesn't explicitly require `A` or `B`. fn last(&self) -> i32; // Doesn't explicitly require `A` or `B`. }