str/
str.rs

1
2
3
4
5
6
7
8
9
10
11
use dyn_list::DynList;

#[cfg_attr(test, test)]
fn main() {
    let mut list = DynList::<str>::new();

    list.push_back_copy_str("Hello,");
    list.push_back_copy_str(" World!");

    println!("{list:?}");
}