Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Oct 26, 2023
1 parent 8745596 commit 0546473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/src/router/consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Result<_, Box<dyn Error>>>()?,
rtp_streams: dump?
.rtp_streams()?
.iter()
.map(|stream| Ok(RtpStream::from_fbs_ref(stream?)?))
.map(|stream| RtpStream::from_fbs_ref(stream?))
.collect::<Result<_, Box<dyn Error>>>()?,
preferred_spatial_layer: dump?.preferred_spatial_layer()?,
target_spatial_layer: dump?.target_spatial_layer()?,
Expand Down

0 comments on commit 0546473

Please sign in to comment.