Skip to content

Commit

Permalink
check: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
hongcha98 committed Jan 21, 2024
1 parent 3585c15 commit 52bc59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forward/subscribe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl SubscribeRTCPeerConnection {
error!("[{}] [{}] subscribe video tracks is empty", path, id);
return;
}
let subscribe_video_track = subscribe_video_tracks.get(0).unwrap();
let subscribe_video_track = subscribe_video_tracks.first().unwrap();
let mut recv = match (subscribe_video_track.rtp_recv)() {
Ok(recv) => recv,
Err(_err) => {
Expand Down

0 comments on commit 52bc59c

Please sign in to comment.