logo
macro_rules! vecd {
    ( $($key:expr),* $(,)? ) => { ... };
}
Expand description

Literally just a VecDeque literal with values into’d.

let s: VecDeque<String> = vecd![ "value" ];
assert_eq!(s.get(0), Some(&"value".to_string()))