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

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1460>
This commit is contained in:
Sebastian Dröge 2024-02-12 19:09:06 +02:00
parent 606352d7cf
commit 58a065caf3

View file

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