RFC: rust-lang/rfcs#1432
This was originally tracked in #32310 as a combination of Vec::splice and String::splice, but the libs team decided to stabilize Vec::splice while keeping String::splice unstable and changing its signature in #44038.
The new signature has been implemented in #44044 but needs to go through FCP.
impl String {
pub fn splice<R>(&mut self, range: R, replace_with: &str)
where R: RangeArgument<usize>;
}
RFC: rust-lang/rfcs#1432
This was originally tracked in #32310 as a combination of Vec::splice and String::splice, but the libs team decided to stabilize Vec::splice while keeping String::splice unstable and changing its signature in #44038.
The new signature has been implemented in #44044 but needs to go through FCP.