Crates.io | loop-code |
lib.rs | loop-code |
version | 0.5.2 |
source | src |
created_at | 2023-01-28 03:27:42.957985 |
updated_at | 2023-01-28 03:36:01.046318 |
description | Code repeating macro |
homepage | https://github.com/engusmaze/loop-code |
repository | https://github.com/engusmaze/loop-code |
max_upload_size | |
id | 770120 |
size | 18,872 |
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");
});