Closed
Description
In accordance to RFC #1685, this code is invalid in 2018 edition:
trait Contains {
type A;
type B;
fn contains(&self, &Self::A, &Self::B) -> bool;
}
and should be changed to:
trait Contains {
type A;
type B;
fn contains(&self, _: &Self::A, _: &Self::B) -> bool;
}
Metadata
Metadata
Assignees
Labels
No labels