aboutsummaryrefslogtreecommitdiff
path: root/helix-tui/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-25 04:06:11 +0000
committerBlaž Hrastnik2022-02-25 04:06:11 +0000
commitb935fac9576cf333e22b82e40da8c4d73c8e547d (patch)
treeac3be8e90238e7435f440879d18d91c5591a6b54 /helix-tui/src
parent9712bbb23b19a957aaba9080ec5ee5f3134e526e (diff)
Fix 1.60 lints
Diffstat (limited to 'helix-tui/src')
-rw-r--r--helix-tui/src/widgets/reflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-tui/src/widgets/reflow.rs b/helix-tui/src/widgets/reflow.rs
index 33e52bb4..38071940 100644
--- a/helix-tui/src/widgets/reflow.rs
+++ b/helix-tui/src/widgets/reflow.rs
@@ -490,7 +490,7 @@ mod test {
assert_eq!(word_wrapper, vec!["AAAAAAAAAAAAAAA", "AAAA\u{00a0}AAA",]);
// Ensure that if the character was a regular space, it would be wrapped differently.
- let text_space = text.replace("\u{00a0}", " ");
+ let text_space = text.replace('\u{00a0}', " ");
let (word_wrapper_space, _) =
run_composer(Composer::WordWrapper { trim: true }, &text_space, width);
assert_eq!(word_wrapper_space, vec!["AAAAAAAAAAAAAAA AAAA", "AAA",]);