textwrap: Remove unnecessary to_string() in debug output of a string

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1458>
This commit is contained in:
Sebastian Dröge 2024-02-12 19:09:06 +02:00
parent 67b7cf9764
commit 05884de50c

View file

@ -174,7 +174,7 @@ impl TextWrap {
CAT, CAT,
imp: self, imp: self,
"Outputting contents {}, ts: {}, duration: {}", "Outputting contents {}, ts: {}, duration: {}",
drained.to_string(), drained,
state.start_ts.display(), state.start_ts.display(),
duration.display(), duration.display(),
); );