[−][src]Macro array_lit::vec
A macro for Vec
literals with superpowers.
See the module level documentation for more.
This macro requires the
std
feature (enabled by default)
Example
let a = vec![1; 5; { [0]: [1, 2], 4: 0 }]; assert_eq!(a, std::vec![1, 2, 1, 1, 0]);