Closed
Description
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>;
}
Metadata
Metadata
Assignees
Labels
Blocker: Implemented in the nightly compiler and unstable.Category: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the library API team, which will review and decide on the PR/issue.In the final comment period and will be merged soon unless new substantive objections are raised.