diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-06-30 15:44:07 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-06-30 16:07:32 +0300 |
commit | 51c7d0652e27d1dd2ae1f88bd5dbba67c2e151ff (patch) | |
tree | d207b32c6732fb6e2c524b94bbb8b7a0dbeb8eff /text/wrap | |
parent | a45f944edda5c111159eab0915bccbeeaa60b556 (diff) |
Fix/silence a couple new clippy warnings
Diffstat (limited to 'text/wrap')
-rw-r--r-- | text/wrap/src/gsttextwrap/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/text/wrap/src/gsttextwrap/imp.rs b/text/wrap/src/gsttextwrap/imp.rs index 7db233288..6520da2f2 100644 --- a/text/wrap/src/gsttextwrap/imp.rs +++ b/text/wrap/src/gsttextwrap/imp.rs @@ -205,7 +205,7 @@ impl TextWrap { .as_ref() .expect("We should have a wrapper by now"); - let lines = textwrap::wrap(¤t_text, &*options); + let lines = textwrap::wrap(¤t_text, options); let mut chunks = lines.chunks(n_lines as usize).peekable(); let mut trailing = "".to_string(); @@ -268,7 +268,7 @@ impl TextWrap { .options .as_ref() .expect("We should have a wrapper by now"); - textwrap::fill(data, &*options) + textwrap::fill(data, options) }; // If the lines property was set, we want to split the result into buffers |