Skip to content

Commit 03f4f03

Browse files
committed
fix some typos, links
1 parent ca28287 commit 03f4f03

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

src/entities-and-resolution.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ declaration of ``crate_visible_function``.
410410
crate::outer_module::inner_module::crate_visible_function();
411411
412412
:dp:`fls_no853u27p4f3`
413-
The following is an :t:`unqualified path expression`` with a generic argument.
413+
The following is an :t:`unqualified path expression` with a generic argument.
414414

415415
.. code-block:: rust
416416

src/expressions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -685,13 +685,13 @@ The :t:`type` of a :t:`block expression` is determined as follows:
685685
* :dp:`fls_ltEygvWDtHXE`
686686
If the :t:`block expression` contains at least one :t:`break expression` and
687687
has a :t:`tail expression`, then the :t:`type` is the :t:`unified type` of
688-
the :t:`break types` of all :t:`[break expression]s` and the :t:`type` of the
688+
the :t:`[break type]s` of all :t:`[break expression]s` and the :t:`type` of the
689689
:t:`tail expression`.
690690

691691
* :dp:`fls_97v4fnekrRXI`
692692
Otherwise, if the :t:`block expression` contains at least one
693693
:t:`break expression`, then the :t:`type` is the :t:`unified type` of the
694-
:t:`break types` of all :t:`[break expression]s`.
694+
:t:`[break type]s` of all :t:`[break expression]s`.
695695

696696
* :dp:`fls_ob76y2ymdd27`
697697
Otherwise, if the :t:`block expression` has a :t:`tail expression`, then the

src/ffi.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ An :t:`external block` is a :t:`construct` that provides the declarations of
159159
foreign :t:`[function]s` as unchecked imports.
160160

161161
:dp:`fls_Nz0l16hMxqTd`
162-
The :t:`ABI` of an :t:`extern block` is determined as follows:
162+
The :t:`ABI` of an :t:`external block` is determined as follows:
163163

164164
* :dp:`fls_4XOoiFloXM7t`
165-
If the :t:`extern block` specifies an :s:`AbiKind`, then the :t:`ABI` is the specified :s:`AbiKind`.
165+
If the :t:`external block` specifies an :s:`AbiKind`, then the :t:`ABI` is the specified :s:`AbiKind`.
166166

167167
* :dp:`fls_PBsepNHImJKH`
168168
Otherwise the :t:`ABI` is the :t:`extern C ABI`.

src/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ A :t:`function` shall not specify a :t:`self parameter` unless it is an
7676
:t:`associated function`.
7777

7878
:dp:`fls_AAYJDCNMJgTq`
79-
The :t:`type` of a :t:`parameter` is determined as follows:
79+
The :t:`type` of a :t:`function parameter` is determined as follows:
8080

8181
* :dp:`fls_PGtp39f6gJwU`
82-
If the :t:`parameter` is a :t:`self parameter` without a :s:`TypeSpecification`:
82+
If the :t:`function parameter` is a :t:`self parameter` without a :s:`TypeSpecification`:
8383

8484
* :dp:`fls_yZ2yIXxmy2ri`
8585
And the :t:`self parameter` has token ``&`` and :t:`keyword` ``mut``, then the :t:`type` is ``&mut Self``.

src/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ adjusted call operand
106106

107107
:dp:`fls_mchqbc64iu0u`
108108
An :dt:`adjusted call operand` is a :t:`call operand` with possible
109-
:t:`auto dereferencing` adjustments.
109+
:t:`auto-dereferencing` adjustments.
110110

111111
.. _fls_j775guurkgo4:
112112

src/macros.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ the :t:`token` stream produced from the related :s:`EnumDeclaration`,
421421

422422
:dp:`fls_H5ipqqlH3pJh`
423423
A :t:`derive macro` adds all its declared :t:`[derive helper attribute]s` into
424-
the :t:`derive helper attribute scope` of the :t:`abstract data type` the
424+
the :t:`derive helper attribute` scope of the :t:`abstract data type` the
425425
:t:`attribute` is attached to.
426426

427427
:dp:`fls_mobky5ck1mi`

src/statements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ token ``}``.
8484
The :t:`expected type` of the :t:`pattern` of the :t:`let statement` is determined as follows:
8585

8686
* :dp:`fls_zObyLdya4DYc`
87-
If the :t:`let statement` lacks a :t:`type ascription` and a :t:`let initializer, then the :t:`expected type` is the :t:`inferred type`.
87+
If the :t:`let statement` lacks a :t:`type ascription` and a :t:`let initializer`, then the :t:`expected type` is the :t:`inferred type`.
8888

8989
* :dp:`fls_r38TXWKQPjxv`
9090
If the :t:`let statement` lacks a :t:`type ascription`, then the :t:`expected type` is the :t:`type` of the :t:`let initializer`.

src/types-and-traits.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ Union Types
806806

807807
:dp:`fls_nskmnzq95yqm`
808808
A :t:`union type` is an :t:`abstract data type` that is a sum of other
809-
:t:`types`.
809+
:t:`[type]s`.
810810

811811
:dp:`fls_I5fN5Fmo5CyK`
812812
A :t:`union` without any :t:`[union field]s` is rejected, but may still be consumed by
@@ -1431,7 +1431,7 @@ For a :t:`thin pointer`, the :t:`size` and :t:`alignment` are those of :t:`type`
14311431

14321432
:dp:`fls_nrqG8i3fmpm4`
14331433
For a :t:`function pointer type`, the :t:`size` and :t:`alignment` are those of
1434-
a :c:`thin pointer`.
1434+
a :t:`thin pointer`.
14351435

14361436
:dp:`fls_e5hivr6m5s3h`
14371437
For a :t:`fat pointer`, the :t:`size` and :t:`alignment` are tool-defined, but

0 commit comments

Comments
 (0)