fill-array

Crates.iofill-array
lib.rsfill-array
version0.2.1
sourcesrc
created_at2023-11-04 12:10:29.594275
updated_at2024-04-15 17:32:19.657066
descriptionA rust macro allowing to fill arrays with an expression
homepage
repository
max_upload_size
id1025118
size4,812
Galitan (Galitan-dev)

documentation

README

Fill Array

Usage

#[macro_use]
extern crate fill_array;

pub fn main() {
    fill![Vec::new(); 3]
}

Output

#[macro_use]
extern crate fill_array;

pub fn main() {
    [Vec::new(), Vec::new(), Vec::new()]
}
Commit count: 0

cargo fmt