From a12b51abd6f8999ee93918ecfc53b4e9232134d0 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Mon, 20 Apr 2020 18:02:28 +0200 Subject: [PATCH] gstreamer: stream_collection: ignore new_ret_no_self clippy warning --- gstreamer/src/stream_collection.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/gstreamer/src/stream_collection.rs b/gstreamer/src/stream_collection.rs index 7607556ff..fd099643d 100644 --- a/gstreamer/src/stream_collection.rs +++ b/gstreamer/src/stream_collection.rs @@ -102,6 +102,7 @@ impl StreamCollectionBuilder { } impl StreamCollection { + #[allow(clippy::new_ret_no_self)] pub fn new(upstream_id: Option<&str>) -> StreamCollectionBuilder { assert_initialized_main_thread!(); let upstream_id = upstream_id.to_glib_none();