forked from mirrors/gstreamer-rs
Remove some unneeded lifetime annotations
This commit is contained in:
parent
3c9b7a395b
commit
2508f432f4
2 changed files with 9 additions and 9 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue