Replace some std::iter::repeat
with str::repeat
#85538
Merged
std::iter::repeat
with str::repeat
#85538