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);