From a828d3cc12364cca73bf48b5bf6ee50414c0c301 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Sat, 17 Apr 2021 12:11:52 +0200 Subject: [PATCH] video: VideoChromaSite now has an autogenerated impl Display Still calls into the manual `fn to_str()`. --- gstreamer-video/src/video_info.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gstreamer-video/src/video_info.rs b/gstreamer-video/src/video_info.rs index 10e46a6f5..b0a76b697 100644 --- a/gstreamer-video/src/video_info.rs +++ b/gstreamer-video/src/video_info.rs @@ -220,12 +220,6 @@ impl str::FromStr for crate::VideoChromaSite { } } -impl fmt::Display for crate::VideoChromaSite { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - f.write_str(&self.to_str()) - } -} - impl From for crate::VideoMultiviewMode { fn from(v: crate::VideoMultiviewFramePacking) -> Self { skip_assert_initialized!();