[][src]Function tweetr::util::mul_str

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());