Skip to content

Commit 084658f

Browse files
authored
docs(docs/asynciterable/creating.md): Fix async iterable docs typo s/source/sink (#317)
1 parent f5a213a commit 084658f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/asynciterable/creating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ sink.write(2);
5757
sink.write(3);
5858
sink.end();
5959

60-
const it = source[Symbol.asyncIterator]();
60+
const it = sink[Symbol.asyncIterator]();
6161
let value, done;
6262

6363
{ value, done } = await it.next();

0 commit comments

Comments
 (0)