From 3a340d0a8993e8b102a516e3f79be2c7678e99bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 15 Jan 2023 23:06:45 +0200 Subject: [PATCH] gstreamer: Implement `Structure::from_iter()` more generically --- gstreamer/src/structure.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gstreamer/src/structure.rs b/gstreamer/src/structure.rs index 9f1197106..e54d44ffe 100644 --- a/gstreamer/src/structure.rs +++ b/gstreamer/src/structure.rs @@ -79,9 +79,9 @@ impl Structure { } #[allow(clippy::should_implement_trait)] - pub fn from_iter<'a>( + pub fn from_iter( name: impl IntoGStr, - iter: impl IntoIterator, + iter: impl IntoIterator, ) -> Structure { skip_assert_initialized!(); let mut structure = Structure::new_empty(name);