literator
literator copied to clipboard
Rust macros for container initialization and iterator literals
Just for reference, I believe literator runs into the same issue that ArrayVec has seen during its development: Panic in element's drop leads to double dropping, issue https://github.com/bluss/arrayvec/issues/3 The summary...
This would be handy.
A while ago, I implemented a macro to generate a lazy iterator given a list of parameters (that only get evaluated when the iterator reached them): ``` rust macro_rules! iter...