cursive-async-view 0.8.0

A loading-screen wrapper for gyscos/cursive views
Documentation
1
2
3
4
/// Repeat the string `s` `n` times by concatenating.
pub fn repeat_str<S: Into<String> + Clone>(s: S, n: usize) -> String {
    std::iter::repeat(s.into()).take(n).collect::<String>()
}