Powerful rust toolset
# (optional) cargo new
cargo install lubricant// src/main.rs
use lubricant
fn main(){
let new_vec = lubricant::array::map(vec![1,2,3], |item|{item*2});
assert_eq!(new_vec[0], 2);
assert_eq!(new_vec[1], 4);
assert_eq!(new_vec[2], 6);
}Welcome PR, but before submit pull request, Please read Contributing Guidelines
MIT