loop-code 0.5.1

Code repeating macro
Documentation
loop-code-0.5.1 has been yanked.

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 loop_code::repeat;

repeat!(5 {
    println!("Hello world");
});