loop-code 0.5.1

Code repeating macro
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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

```rust
use loop_code::repeat;

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