sweet-potator 0.5.0

Static recipe site generator
Documentation
1
2
3
4
5
use std::ffi::OsStr;

pub fn os_str_vec<S: AsRef<OsStr>>(slice: &[S]) -> Vec<&OsStr> {
    slice.iter().map(AsRef::as_ref).collect()
}