Crates.io | fill-array |
lib.rs | fill-array |
version | 0.2.1 |
source | src |
created_at | 2023-11-04 12:10:29.594275 |
updated_at | 2024-04-15 17:32:19.657066 |
description | A rust macro allowing to fill arrays with an expression |
homepage | |
repository | |
max_upload_size | |
id | 1025118 |
size | 4,812 |
#[macro_use]
extern crate fill_array;
pub fn main() {
fill![Vec::new(); 3]
}
#[macro_use]
extern crate fill_array;
pub fn main() {
[Vec::new(), Vec::new(), Vec::new()]
}