Skip to content

Commit

Permalink
docs(docs/asynciterable/creating.md): Fix async iterable docs typo s/…
Browse files Browse the repository at this point in the history
…source/sink (#317)
  • Loading branch information
timoxley authored Jun 9, 2021
1 parent f5a213a commit 084658f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/asynciterable/creating.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ sink.write(2);
sink.write(3);
sink.end();

const it = source[Symbol.asyncIterator]();
const it = sink[Symbol.asyncIterator]();
let value, done;

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

0 comments on commit 084658f

Please sign in to comment.