seq!
A seq!
macro to repeat a fragment of source code and substitute into each
repetition a sequential numeric counter.
[]
= "0.1"
use seq;
There are just two more features to know about:
-
If the input tokens contain a section surrounded by
#(
...)*
then only that part is repeated. -
The numeric counter can be pasted onto the end of some prefix to form sequential identifiers.
use seq;
seq!;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.