@@ -490,7 +490,7 @@ mod test {
490490 assert_eq!(word_wrapper, vec!["AAAAAAAAAAAAAAA", "AAAA\u{00a0}AAA",]);
491491
492492 // Ensure that if the character was a regular space, it would be wrapped differently.
493− let text_space = text.replace("\u{00a0}", " ");
493+ let text_space = text.replace('\u{00a0}', " ");
494494 let (word_wrapper_space, _) =
495495 run_composer(Composer::WordWrapper { trim: true }, &text_space, width);
496496 assert_eq!(word_wrapper_space, vec!["AAAAAAAAAAAAAAA AAAA", "AAA",]);