gstreamer: stream_collection: ignore new_ret_no_self clippy warning

This commit is contained in:
Guillaume Desmottes 2020-04-20 18:02:28 +02:00
parent 872024c372
commit a12b51abd6

View file

@ -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();