Remove some unneeded lifetime annotations

This commit is contained in:
Sebastian Dröge 2017-11-27 12:55:47 +02:00
parent 3c9b7a395b
commit 2508f432f4
2 changed files with 9 additions and 9 deletions

View file

@ -139,9 +139,9 @@ impl GstRc<EventRef> {
} }
#[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn new_stream_collection<'a>( pub fn new_stream_collection(
stream_collection: &'a ::StreamCollection, stream_collection: &::StreamCollection,
) -> StreamCollectionBuilder<'a> { ) -> StreamCollectionBuilder {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
StreamCollectionBuilder::new(stream_collection) StreamCollectionBuilder::new(stream_collection)
} }

View file

@ -310,17 +310,17 @@ impl GstRc<MessageRef> {
} }
#[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn new_stream_collection<'a>( pub fn new_stream_collection(
collection: &'a ::StreamCollection, collection: &::StreamCollection,
) -> StreamCollectionBuilder<'a> { ) -> StreamCollectionBuilder {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
StreamCollectionBuilder::new(collection) StreamCollectionBuilder::new(collection)
} }
#[cfg(any(feature = "v1_10", feature = "dox"))] #[cfg(any(feature = "v1_10", feature = "dox"))]
pub fn new_streams_selected<'a>( pub fn new_streams_selected(
collection: &'a ::StreamCollection, collection: &::StreamCollection,
) -> StreamsSelectedBuilder<'a> { ) -> StreamsSelectedBuilder {
assert_initialized_main_thread!(); assert_initialized_main_thread!();
StreamsSelectedBuilder::new(collection) StreamsSelectedBuilder::new(collection)
} }