Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/text/wrap
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2022-06-30 15:44:07 +0300
committerSebastian Dröge <sebastian@centricular.com>2022-06-30 16:07:32 +0300
commit51c7d0652e27d1dd2ae1f88bd5dbba67c2e151ff (patch)
treed207b32c6732fb6e2c524b94bbb8b7a0dbeb8eff /text/wrap
parenta45f944edda5c111159eab0915bccbeeaa60b556 (diff)
Fix/silence a couple new clippy warnings
Diffstat (limited to 'text/wrap')
-rw-r--r--text/wrap/src/gsttextwrap/imp.rs4
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(&current_text, &*options);
+ let lines = textwrap::wrap(&current_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