Skip to content

Commit bbdce36

Browse files
authored
docs: Correct typos in documentation (#592)
1 parent 2ad274c commit bbdce36

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/design/color_space.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Besides the standard layouts, it also provides:
4545
- ``abgr_layout_t``
4646
- ``argb_layout_t``
4747

48-
As an example, here is how GIL defines the RGBA color space::
48+
As an example, here is how GIL defines the RGBA color space:
4949

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

6363
The mapping of channels is specified by ``ChannelMappingConcept``, which is
6464
an MPL random access sequence of integral types.

doc/design/concepts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ algorithmic guarantees. For example, GIL class ``pixel`` is a model of GIL
88
``PixelConcept``. The user may substitute the pixel class with one of their
99
own, and, as long as it satisfies the requirements of ``PixelConcept``,
1010
all other GIL classes and algorithms can be used with it.
11-
See more about concepts is avaialble at
11+
See more about concepts at
1212
`Generic Programming in ConceptC++ <https://web.archive.org/web/20160324115943/http://www.generic-programming.org/languages/conceptcpp/>`_
1313

1414
In this document we will use a syntax for defining concepts that is described

doc/design/point.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ in which both dimensions are of the same type:
3939
typename value_type = axis<0>::type;
4040
4141
const value_type& operator[](const T&, size_t i);
42-
value_type& operator[]( T&, size_t i);
42+
value_type& operator[]( T&, size_t i);
4343
4444
value_type x,y;
4545
};

0 commit comments

Comments
 (0)