[−][src]Function dia_args::docs::make_cow_strings
pub fn make_cow_strings<T>(slice: &[T]) -> Vec<Cow<str>> where
T: Display,
Makes a vector of Cow<'_, str>
from input slice of Display
's
Examples
use dia_args::docs; for s in docs::make_cow_strings(&[0, 1, 2]) { println!("{}", s); }