diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-22 07:19:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 07:19:04 +0200 |
| commit | a31a39833afd0853c60629a8b6585b72b55685d1 (patch) | |
| tree | 76c37a9ca32c93dd9ae968aa422d7d84ce0cd446 /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | 79f0a97783fa7622d7296a36010c8848643672df (diff) | |
| parent | cff790c98e9601281accf86f9c80cf894727564b (diff) | |
| download | rust-a31a39833afd0853c60629a8b6585b72b55685d1.tar.gz rust-a31a39833afd0853c60629a8b6585b72b55685d1.zip | |
Rollup merge of #141370 - WaffleLapkin:hiiii, r=jhpratt
add doc alias `replace_first` for `str::replacen` `replace_first` is a sensible name for a function, analogous to actually existing `<[_]>::split_first`, for example. (I just saw someone try to search for it) I think it's reasonable to add such an alias for `replacen`, which replaces the first occurrence of passed a 1.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
