pub fn str_rep(state: &mut LuaState) -> Result<usize, LuaError>Expand description
string.rep(s, n [, sep]) — return n copies of s separated by sep.
Borrow s through to_lua_string. The previous version did the
check_arg_string copy and then a second redundant s.to_vec() inside the
build loop — that double-copy is gone too.