Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrigoriu authored Jul 24, 2023
1 parent 329f1b1 commit a8dd24a
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 a8dd24a

Please sign in to comment.