1 unstable release
0.5.2 | Jan 28, 2023 |
---|---|
0.5.1 |
|
0.5.0 |
|
#39 in #repeat
8KB
72 lines
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");
});
lib.rs
:
Loop code
loop_code
gives you macro loop_code::repeat
which allows you to repeat blocks of code an arbitrary number of times.
Dependencies
~1.5MB
~37K SLoC