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:
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