freedom-api 3.2.0

Freedom API for Rustaceans
Documentation
1
2
3
4
5
6
7
8
9
10
pub(crate) fn list_to_string<I, S>(list: I) -> String
where
    I: IntoIterator<Item = S>,
    S: AsRef<str>,
{
    list.into_iter()
        .map(|a| a.as_ref().to_string())
        .collect::<Vec<String>>()
        .join(",")
}