Home
| Colors: |

Use .map To Transform Items In A Vec

June 2023

This is not a full example. It's a draft snippet for me to get back to later

let things: Vec<(&str, &str)> =
	items.clone().into_iter().skip(2).map(|x| x).collect();

TODO

    make this a full example

    write this up

    remove .skip from here and make a new note with it

end of line