wiwi::chainMacro vec_chain
Source macro_rules! vec_chain {
[$($tt:tt)*] => { ... };
}
Expand description
Creates a VecChain
containing the arguments
Usage is same as vec!
, except it returns VecChain
instead of Vec
.
ยงExamples
let chain = vec![0u8; 32].into_chain();
let chain = vec_chain![0u8; 32];