Skip to content

Move to_string() methods into the Display trait or rename to to_str(), move from_string() into the FromStr trait

Sebastian Dröge requested to merge slomo/gstreamer-rs:fixups into master

Fixes clippy warnings, prevents confusing errors and is more consistent.

The Display trait provides a to_string() method by itself and FromStr provides from_str().

Merge request reports

Loading