From 0546473ee4a8ebbfb508371d13e9239df02a4aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Thu, 26 Oct 2023 12:09:04 +0200 Subject: [PATCH] cargo clippy --- rust/src/router/consumer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/src/router/consumer.rs b/rust/src/router/consumer.rs index 852c3ae078..8280bc8614 100644 --- a/rust/src/router/consumer.rs +++ b/rust/src/router/consumer.rs @@ -291,13 +291,13 @@ impl ConsumerDump { .consumable_rtp_encodings()? .iter() .map(|encoding_parameters| { - Ok(RtpEncodingParameters::from_fbs_ref(encoding_parameters?)?) + RtpEncodingParameters::from_fbs_ref(encoding_parameters?) }) .collect::>>()?, rtp_streams: dump? .rtp_streams()? .iter() - .map(|stream| Ok(RtpStream::from_fbs_ref(stream?)?)) + .map(|stream| RtpStream::from_fbs_ref(stream?)) .collect::>>()?, preferred_spatial_layer: dump?.preferred_spatial_layer()?, target_spatial_layer: dump?.target_spatial_layer()?,