constant macro arrays
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,7 @@ # `car` + + macro based array manipulation constant techniques ## you wanted a quick LUT in const? here you go! @@ -11,4 +13,11 @@ let squares: [usize; 0xffffffff] = car::from_fn!(|i| i * 2); ## completely stable! -for once!
\ No newline at end of file +for once! + +## notice + +with the advent of const closures in nightly rust, this crate is now only useful if you're on stable. +any nightly users should switch to using `x.map(const |x| ..)` or `from_fn(const |i| ..)` instead. + +as a result, this crate is now deprecated. |