This commit is contained in:
Alexis Bourget 2020-09-08 23:05:51 +02:00
parent fc152cd67e
commit 85b2d9bf6f

View File

@ -379,7 +379,9 @@ fn test_zip_next_back_side_effects_exhausted() {
#[derive(Debug)]
struct CountClone(Cell<i32>);
fn count_clone() -> CountClone { CountClone(Cell::new(0)) }
fn count_clone() -> CountClone {
CountClone(Cell::new(0))
}
impl PartialEq<i32> for CountClone {
fn eq(&self, rhs: &i32) -> bool {