Remove some unneeded lifetime annotations

This commit is contained in:
Sebastian Dröge 2017-11-27 12:55:47 +02:00
parent 98ca60b684
commit 291193c1ad
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"))]
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)
}

View file

@ -310,17 +310,17 @@ impl GstRc<MessageRef> {
}
#[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)
}