codesnap 0.10.1

Pure Rust library for generating beautiful code snapshots
Documentation
1
2
3
4
5
6
pub fn convert_vecs<T, U>(v: Vec<T>) -> Vec<U>
where
    T: Into<U>,
{
    v.into_iter().map(Into::into).collect()
}