| Crates.io | repeater |
| lib.rs | repeater |
| version | 0.1.0 |
| created_at | 2024-06-18 18:20:24.217261+00 |
| updated_at | 2024-06-18 18:20:24.217261+00 |
| description | Proc-macro for repeating tokens |
| homepage | |
| repository | https://github.com/maia-s/repeater-rs |
| max_upload_size | |
| id | 1275717 |
| size | 26,497 |
This crate provides the repeat! macro, which lets you repeat tokens. In its simplest form,
repeat! takes a repeat count and the tokens to repeat:
repeat!(5 => #(repeat this 5 times)*)
See the documentation for more advanced usage, including loop variables, interpolations and nesting.