loop-code 0.5.2

Code repeating macro
Documentation

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");
});