Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 414 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 414 Bytes

What it is

This crate exports a macro which can be used to declare a fixed-size array without counting the elements by hand. This is achieved by using macro recursion to make rustc count the elements at compile time.

The macro can declare local variables, consts, statics, and lazy statics (if you import that crate, or enable this crate's "nightly" feature).

For examples, see the tests directory.