Skip to content

Commit

Permalink
docs: Correct typos in documentation (boostorg#592)
Browse files Browse the repository at this point in the history
  • Loading branch information
schra authored Apr 2, 2021
1 parent 2ad274c commit bbdce36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/design/color_space.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Besides the standard layouts, it also provides:
- ``abgr_layout_t``
- ``argb_layout_t``

As an example, here is how GIL defines the RGBA color space::
As an example, here is how GIL defines the RGBA color space:

.. code-block:: cpp
Expand All @@ -58,7 +58,7 @@ As an example, here is how GIL defines the RGBA color space::
The ordering of the channels in the color space definition specifies their
semantic order. For example, ``red_t`` is the first semantic channel of
``rgba_t``. While there is a unique semantic ordering of the channels in a
color space, channels may vary in their physical ordering in memory
color space, channels may vary in their physical ordering in memory.

The mapping of channels is specified by ``ChannelMappingConcept``, which is
an MPL random access sequence of integral types.
Expand Down
2 changes: 1 addition & 1 deletion doc/design/concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ algorithmic guarantees. For example, GIL class ``pixel`` is a model of GIL
``PixelConcept``. The user may substitute the pixel class with one of their
own, and, as long as it satisfies the requirements of ``PixelConcept``,
all other GIL classes and algorithms can be used with it.
See more about concepts is avaialble at
See more about concepts at
`Generic Programming in ConceptC++ <https://web.archive.org/web/20160324115943/http://www.generic-programming.org/languages/conceptcpp/>`_

In this document we will use a syntax for defining concepts that is described
Expand Down
2 changes: 1 addition & 1 deletion doc/design/point.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ in which both dimensions are of the same type:
typename value_type = axis<0>::type;
const value_type& operator[](const T&, size_t i);
value_type& operator[]( T&, size_t i);
value_type& operator[]( T&, size_t i);
value_type x,y;
};
Expand Down

0 comments on commit bbdce36

Please sign in to comment.