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