From 2508f432f4a5b859142697b712dacdb3f723ae05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 27 Nov 2017 12:55:47 +0200 Subject: [PATCH] Remove some unneeded lifetime annotations --- gstreamer/src/event.rs | 6 +++--- gstreamer/src/message.rs | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gstreamer/src/event.rs b/gstreamer/src/event.rs index 4cc5ab73b..4a1623bda 100644 --- a/gstreamer/src/event.rs +++ b/gstreamer/src/event.rs @@ -139,9 +139,9 @@ impl GstRc { } #[cfg(any(feature = "v1_10", feature = "dox"))] - pub fn new_stream_collection<'a>( - stream_collection: &'a ::StreamCollection, - ) -> StreamCollectionBuilder<'a> { + pub fn new_stream_collection( + stream_collection: &::StreamCollection, + ) -> StreamCollectionBuilder { assert_initialized_main_thread!(); StreamCollectionBuilder::new(stream_collection) } diff --git a/gstreamer/src/message.rs b/gstreamer/src/message.rs index 33b782602..05a8f443d 100644 --- a/gstreamer/src/message.rs +++ b/gstreamer/src/message.rs @@ -310,17 +310,17 @@ impl GstRc { } #[cfg(any(feature = "v1_10", feature = "dox"))] - pub fn new_stream_collection<'a>( - collection: &'a ::StreamCollection, - ) -> StreamCollectionBuilder<'a> { + pub fn new_stream_collection( + collection: &::StreamCollection, + ) -> StreamCollectionBuilder { assert_initialized_main_thread!(); StreamCollectionBuilder::new(collection) } #[cfg(any(feature = "v1_10", feature = "dox"))] - pub fn new_streams_selected<'a>( - collection: &'a ::StreamCollection, - ) -> StreamsSelectedBuilder<'a> { + pub fn new_streams_selected( + collection: &::StreamCollection, + ) -> StreamsSelectedBuilder { assert_initialized_main_thread!(); StreamsSelectedBuilder::new(collection) }