Skip to main content

try_vec

Macro try_vec 

Source
macro_rules! try_vec {
    ( $( $elem:expr ),* ) => { ... };
    ( $elem:expr; $len:expr ) => { ... };
}
Expand description

Same as the [std::vec!] macro but returns an error on allocation failure.