It's not done, but honestly it's getting too tedious. I will need to rethink how I'm doing it.
6 lines
116 B
Rust
6 lines
116 B
Rust
crate fn concat<T>(item: T, rest: Vec<T>) -> Vec<T> {
|
|
let mut out = vec![item];
|
|
out.extend(rest);
|
|
out
|
|
}
|