Skip to content

Commit

Permalink
Merge pull request #3760 from vgrigoriu/patch-1
Browse files Browse the repository at this point in the history
fix typo in tutorial
  • Loading branch information
armanbilge authored Aug 7, 2023
2 parents ead57bc + 499300a commit a77a2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ Both producer and consumer will access the same shared state instance, which
will be carried and safely modified by an instance of `Ref`. Consumer shall
work as follows:
1. If `queue` is not empty, it will extract and return its head. The new state
will keep the tail of the queue, not change on `takers` will be needed.
will keep the tail of the queue, no change on `takers` will be needed.
2. If `queue` is empty it will use a new `Deferred` instance as a new `taker`,
add it to the `takers` queue, and 'block' the caller by invoking `taker.get`

Expand Down

0 comments on commit a77a2f1

Please sign in to comment.