Expand description
Trait that can repeat a given FlexStr “n” times efficiently
Repeats a given FlexStr “n” times efficiently and returns a new FlexStr
use flexstr::{FlexStr, IntoFlexStr, Repeat};
let s: FlexStr = "a".repeat_n(10);
assert!(s.is_inlined());
assert_eq!(s, "a".repeat(10));