/// Comment each line in the iterator
Comment each line in the iterator
Comment each line in the iterator
fn cp<S: AsRef<str>, I: Iterator<Item = S>>(s: I) -> String {
    s.map(|s| format!("//! {}", s.as_ref()))
        .map(|s| s.trim().into())
        .collect::<Vec<String>>()
        .join("\n")
}
fn cp < S : AsRef < str > , I : Iterator < Item = S > > ( s : I ) -> String { s . map ( | s | format ! ( " " s as_ref ( ) ) ) . map ( | s | s . trim ( ) . into ( ) ) . collect :: < Vec < String > > ( ) . join ( " \n " ) }
Comment each line in the iterator
Comment each line in the iterator
s
I