Mussar 2229370b13
replace repeat().take() with repeat_n() (#15575)
# Description

This updates `string_expand()` in nu-table's util.rs to use the
`std::iter` library's `repeat_n()` function, which was suggested as a
more readable version of the existing `repeat().take()` implementation.

# User-Facing Changes
 
Should have no user facing changes.

# Tests + Formatting

All green circles!
```
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib
```
2025-04-15 23:29:32 +08:00
..
2025-04-11 08:02:01 -05:00
2024-12-28 08:19:48 -06:00
2024-12-28 08:19:48 -06:00
2025-04-11 08:02:01 -05:00
2025-04-06 09:49:28 +08:00