Function poke_a_mango::util::mul_str
[−]
[src]
pub fn mul_str(what: &str, n: usize) -> String
Create a string consisting of n
repetitions of what
.
Examples
assert_eq!(mul_str("Го! ", 3), "Го! Го! Го! ".to_string());