forked from mirrors/gstreamer-rs
gstreamer: stream_collection: ignore new_ret_no_self clippy warning
This commit is contained in:
parent
872024c372
commit
a12b51abd6
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ impl StreamCollectionBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl StreamCollection {
|
impl StreamCollection {
|
||||||
|
#[allow(clippy::new_ret_no_self)]
|
||||||
pub fn new(upstream_id: Option<&str>) -> StreamCollectionBuilder {
|
pub fn new(upstream_id: Option<&str>) -> StreamCollectionBuilder {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
let upstream_id = upstream_id.to_glib_none();
|
let upstream_id = upstream_id.to_glib_none();
|
||||||
|
|
Loading…
Reference in a new issue