about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-22 07:19:04 +0200
committerGitHub <noreply@github.com>2025-05-22 07:19:04 +0200
commita31a39833afd0853c60629a8b6585b72b55685d1 (patch)
tree76c37a9ca32c93dd9ae968aa422d7d84ce0cd446 /compiler/rustc_codegen_llvm/src
parent79f0a97783fa7622d7296a36010c8848643672df (diff)
parentcff790c98e9601281accf86f9c80cf894727564b (diff)
downloadrust-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_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions