rust/lfprng/src/lib.rs
changeset 14173 5acfdf49742d
parent 14050 259175ab7e8c
child 15136 de32299de704
equal deleted inserted replaced
14172:3c8a33ba06ba 14173:5acfdf49742d
    14         let mut prng = Self {
    14         let mut prng = Self {
    15             circular_buffer: buf,
    15             circular_buffer: buf,
    16             index: 54,
    16             index: 54,
    17         };
    17         };
    18 
    18 
    19         for i in 0..2048 {
    19         for _i in 0..2048 {
    20             prng.get_next();
    20             prng.get_next();
    21         }
    21         }
    22 
    22 
    23         prng
    23         prng
    24     }
    24     }