Skip to content

Commit b49bc2e

Browse files
authored
Fix typo (#2344)
1 parent a314c86 commit b49bc2e

File tree

1 file changed

+2
-2
lines changed
  • examples/webrtc_datachannel/src

1 file changed

+2
-2
lines changed

examples/webrtc_datachannel/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub async fn start() -> Result<(), JsValue> {
3636

3737
/*
3838
* Create DataChannel on pc1 to negotiate
39-
* Message will be shonw here after connection established
39+
* Message will be shown here after connection established
4040
*
4141
*/
4242
let dc1 = pc1.create_data_channel("my-data-channel");
@@ -57,7 +57,7 @@ pub async fn start() -> Result<(), JsValue> {
5757
onmessage_callback.forget();
5858

5959
/*
60-
* If negotiaion has done, this closure will be called
60+
* If negotiation has done, this closure will be called
6161
*
6262
*/
6363
let ondatachannel_callback = Closure::wrap(Box::new(move |ev: RtcDataChannelEvent| {

0 commit comments

Comments
 (0)