Tracking Issue for string_replace_in_place (original) (raw)

Feature gate: #![feature(string_replace_in_place)]

This is a tracking issue for String::replace_first and String::replace_last

Public API

// alloc::string

impl String { pub fn replace_first<P: Pattern>(&mut self, from: P, to: &str); pub fn replace_last<P: Pattern>(&mut self, from: P, to: &str) where for<'a> P::Searcher<'a>: ReverseSearcher<'a>; }

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

(copied from ACP "Alternatives" section)

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html