Skip to content

Commit 59c75bd

Browse files
author
yngrtc
committed
fix clippy
1 parent 3ffc460 commit 59c75bd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webrtc/src/peer_connection/peer_connection_test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ async fn peer() -> Result<()> {
414414
peer_connection.set_local_description(offer).await?;
415415
let _ = gather_complete.recv().await;
416416

417-
if let Some(_) = peer_connection.local_description().await {}
417+
if peer_connection.local_description().await.is_some() {
418+
//TODO?
419+
}
418420

419421
peer_connection.close().await?;
420422

0 commit comments

Comments
 (0)