From 294e0156b42b694947dbfd385f80ee623ac2d7e9 Mon Sep 17 00:00:00 2001 From: Taisei Mima Date: Thu, 12 Sep 2024 23:32:04 +0900 Subject: [PATCH] examples: fix mismatched argument type --- wtransport/examples/full.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wtransport/examples/full.rs b/wtransport/examples/full.rs index 2e039d3..6c67b9e 100644 --- a/wtransport/examples/full.rs +++ b/wtransport/examples/full.rs @@ -460,7 +460,7 @@ async function sendData() { case 'bidi': { let stream = await transport.createBidirectionalStream(); let number = streamNumber++; - readFromIncomingStream(stream, number); + readFromIncomingStream(stream.readable, number); let writer = stream.writable.getWriter(); await writer.write(data);