fn multiple_iterators() {
        let list = StableList::<i32>::new();
        let mut iter_1 = list.iter();
        let mut iter_2 = list.iter();
        for i in 100..200 {
            list.push(i);
            let a = iter_1.next();
            let b = iter_2.next();
            assert_eq!(Some(&i), a);
            assert_eq!(Some(&i), b);
        }
    }
/// Test that handing out multiple iterators at the same time works.
Test that handing out multiple iterators at the same time works.
Test that handing out multiple iterators at the same time works .
fn multiple_iterators() {
        let list = StableList::<i32>::new();
        let mut iter_1 = list.iter();
        let mut iter_2 = list.iter();
        for i in 100..200 {
            list.push(i);
            let a = iter_1.next();
            let b = iter_2.next();
            assert_eq!(Some(&i), a);
            assert_eq!(Some(&i), b);
        }
    }
fn multiple_iterators ( ) { let list = StableList :: < i32 > :: new ( ) ; let mut iter_1 = list . iter ( ) ; let mut iter_2 = list . iter ( ) ; for i in 100 .. 200 { list . push ( i ) ; let a = iter_1 . next ( ) ; let b = iter_2 . next ( ) ; assert_eq ! ( Some ( i ) a ) ; assert_eq ! ( Some ( i ) b ) ; } }
Test that handing out multiple iterators at the same time works.
Test that handing out multiple iterators at the same time works .