Macro reed_solomon_erasure::shards[][src]

macro_rules! shards {
    (
        $( [ $( $x:expr ),* ] ),*
    ) => { ... };
}

Constructs vector of shards.

Example

let shards: Vec<Vec<u8>> = shards!([1, 2, 3],
                                   [4, 5, 6]);