Loop code
loop_code
gives you macro loop_code::repeat
which allows you to repeat blocks of code an arbitrary number of times.
Simple example
use repeat;
repeat!;
loop_code
gives you macro loop_code::repeat
which allows you to repeat blocks of code an arbitrary number of times.
use loop_code::repeat;
repeat!(5 {
println!("Hello world");
});