veclite 1.0.1

A lightweight, ergonomic wrapper around Vec<T> that implements Display
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use veclite::Veclite;

fn main() {
    let mut names = Veclite::new();
    names.push("Alice".to_string());
    names.push("Bob".to_string());
    names.push("Carol".to_string());
    println!("{}", names); // Output: Alice Bob Carol

    // Remove the first element
    names.remove(0);
    println!("{}", names); // Output: Bob Carol
}