Add String::replace_first and String::replace_last

Rebased and modified by zachs18.

Co-authored-by: zachs18 <8355914+zachs18@users.noreply.github.com>
This commit is contained in:
William Venner 2022-06-11 01:01:18 +01:00 committed by Zachary S
parent 695857bc3f
commit 8ed7fca74c
4 changed files with 97 additions and 0 deletions

View file

@ -36,6 +36,7 @@
#![feature(local_waker)]
#![feature(str_as_str)]
#![feature(strict_provenance_lints)]
#![feature(string_replace_in_place)]
#![feature(vec_deque_pop_if)]
#![feature(vec_deque_truncate_front)]
#![feature(unique_rc_arc)]