diff --git a/src/re_unicode.rs b/src/re_unicode.rs index b746599088..685d4046de 100644 --- a/src/re_unicode.rs +++ b/src/re_unicode.rs @@ -1122,7 +1122,7 @@ pub trait Replacer { /// have a match at capture group `0`. /// /// For example, a no-op replacement would be - /// `dst.extend(caps.get(0).unwrap().as_str())`. + /// `dst.push_str(caps.get(0).unwrap().as_str())`. fn replace_append(&mut self, caps: &Captures, dst: &mut String); /// Return a fixed unchanging replacement string.