diff options
author | Omnikar | 2022-01-23 07:37:23 +0000 |
---|---|---|
committer | GitHub | 2022-01-23 07:37:23 +0000 |
commit | f064894e5778071ef8cc563380f48cfdd9acba59 (patch) | |
tree | 18eb4c743e04f6b83268664ea869f3bbc676a2e2 /helix-tui/src/widgets | |
parent | e2d2f19fd02419b8d144ae7a8a359d31bd773af7 (diff) |
Fix Clippy lints in tests (#1563)
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'helix-tui/src/widgets')
-rw-r--r-- | helix-tui/src/widgets/reflow.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-tui/src/widgets/reflow.rs b/helix-tui/src/widgets/reflow.rs index 21847783..33e52bb4 100644 --- a/helix-tui/src/widgets/reflow.rs +++ b/helix-tui/src/widgets/reflow.rs @@ -404,8 +404,8 @@ mod test { let text = "コンピュータ上で文字を扱う場合、典型的には文字による通信を行う場合にその両端点\ では、"; let (word_wrapper, word_wrapper_width) = - run_composer(Composer::WordWrapper { trim: true }, &text, width); - let (line_truncator, _) = run_composer(Composer::LineTruncator, &text, width); + run_composer(Composer::WordWrapper { trim: true }, text, width); + let (line_truncator, _) = run_composer(Composer::LineTruncator, text, width); assert_eq!(line_truncator, vec!["コンピュータ上で文字"]); let wrapped = vec![ "コンピュータ上で文字", |