Skip to content

Commit

Permalink
Merge pull request #14095 from xanderdunn/patch-2
Browse files Browse the repository at this point in the history
Fix manual typo
  • Loading branch information
hayd committed Nov 22, 2015
2 parents e254ebf + ee3ede1 commit 3da9aee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/manual/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ minimal interface designed to ensure that interactions with missing values
are safe. At present, the interface consists of four possible interactions:

- Construct a :obj:`Nullable` object.
- Check if an :obj:`Nullable` object has a missing value.
- Check if a :obj:`Nullable` object has a missing value.
- Access the value of a :obj:`Nullable` object with a guarantee that a
:exc:`NullException` will be thrown if the object's value is missing.
- Access the value of a :obj:`Nullable` object with a guarantee that a default
Expand Down Expand Up @@ -1339,8 +1339,8 @@ Note the core distinction between these two ways of constructing a :obj:`Nullabl
object: in one style, you provide a type, ``T``, as a function parameter; in
the other style, you provide a single value of type ``T`` as an argument.

Checking if an :obj:`Nullable` object has a value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Checking if a :obj:`Nullable` object has a value
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can check if a :obj:`Nullable` object has any value using :func:`isnull`:

Expand All @@ -1352,10 +1352,10 @@ You can check if a :obj:`Nullable` object has any value using :func:`isnull`:
julia> isnull(Nullable(0.0))
false

Safely accessing the value of an :obj:`Nullable` object
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Safely accessing the value of a :obj:`Nullable` object
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can safely access the value of an :obj:`Nullable` object using :func:`get`:
You can safely access the value of a :obj:`Nullable` object using :func:`get`:

.. doctest::

Expand Down

0 comments on commit 3da9aee

Please sign in to comment.