Skip to content

Commit

Permalink
Update do-notation.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Jan 12, 2025
1 parent 7b3ba70 commit 4e0264f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/do-notation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Let's say we have a function called ``add`` which is defined like this:
And we have two containers: ``IO(2)`` and ``IO(3)``.
How can we easily get ``IO(5)`` in this case?

Luckily, ``IO`` defines :meth:`returns.io.IO.do` which can help us:
Luckily, ``IO`` defines :meth:`~returns.io.IO.do` which can help us:

.. code:: python
Expand Down Expand Up @@ -117,7 +117,7 @@ Why don't we allow mixing different container types?
One might ask, why don't we allow mixing multiple container types
in a single do-notation expression?

For example, this code will not what you expect:
For example, this code will not do what you expect:

.. code:: python
Expand Down

0 comments on commit 4e0264f

Please sign in to comment.