[−][src]Function sudoku_backend::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), "Го! Го! Го! ");
pub fn mul_str(what: &str, n: usize) -> String
Create a string consisting of n
repetitions of what
.
assert_eq!(&mul_str("Го! ", 3), "Го! Го! Го! ");