Skip to content

Commit afd3b3a

Browse files
bors-ferrocene[bot]Veykrilplaindocs
authored
Merge #537
537: Fix missing refs r=Dajamante a=Veykril Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Samuel Wright <[email protected]>
2 parents e6c4742 + 1a47fb0 commit afd3b3a

File tree

8 files changed

+28
-21
lines changed

8 files changed

+28
-21
lines changed

src/associated-items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ or :c:`Self` and ``'lifetime`` is the :t:`lifetime parameter`, when
6363

6464
* :dp:`fls_6Z05BK2JSzpP`
6565
The corresponding :t:`lifetime argument` in the use is not the ``'static``
66-
:t:`lifetime` and has either an explicit :t:`bound` or an :t:`implicit bound`
66+
:t:`lifetime` and has either an explicit :t:`bound` or an :t:`implied bound`
6767
that constrains the :t:`type parameter`, and
6868

6969
* :dp:`fls_AtItgS1UvwiX`

src/entities-and-resolution.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ then the :t:`path segment` shall be the last :t:`path segment` of the
402402
.. rubric:: Examples
403403

404404
:dp:`fls_cul31g1kkz5c`
405-
The following is a simple path. See :p:`14.2. <fls_q13sty1g9jtn>` for the
405+
The following is a simple path. See :p:`fls_jdknpu3kf865` for the
406406
declaration of ``crate_visible_function``.
407407

408408
.. code-block:: rust
@@ -1138,7 +1138,7 @@ the :t:`visibility` of the :t:`name` is the most permissive one.
11381138
.. rubric:: Examples
11391139

11401140
:dp:`fls_5dlnffim6fso`
1141-
The following is a glob import. See :p:`14.2. <fls_q13sty1g9jtn>`
1141+
The following is a glob import. See :p:`fls_jdknpu3kf865`
11421142
for the declaration of modules and functions. The imported functions
11431143
are ``create_visible_function``, ``outer_module_visible_function``,
11441144
``visible_function``.

src/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2218,7 +2218,7 @@ A :t:`type cast expression` with the following characteristics performs a
22182218

22192219
* :dp:`fls_bhw2j9wjpf2x`
22202220
An :t:`operand` of a :t:`function pointer type` and a target :t:`integer type`
2221-
perform :t:`function-pointer-to-address` cast. A
2221+
perform :t:`function-pointer-to-address cast`. A
22222222
:dt:`function-pointer-to-address cast` produces an integer that represents the
22232223
machine address of the referenced :t:`function`. If the :t:`integer type` is
22242224
smaller than the size of the :t:`function pointer type`, the address is

src/glossary.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ adjusted call operand
105105
^^^^^^^^^^^^^^^^^^^^^
106106

107107
:dp:`fls_mchqbc64iu0u`
108-
An :dt:`adjusted call operand` is a :t:`call operand` with possible
109-
:t:`auto-dereferencing` adjustments.
108+
An :dt:`adjusted call operand` is a :t:`call operand` adjusted with inserted :t:`[borrow expression]s` and :t:`[dereference expression]s`.
110109

111110
.. _fls_j775guurkgo4:
112111

@@ -6806,7 +6805,7 @@ trivial predicate
68066805

68076806
:dp:`fls_db5njwrjolhs`
68086807
A :dt:`trivial predicate` is a :t:`where clause predicate` that does not use
6809-
the :t:`[generic parameter]s` or :t:`[higher-ranked lifetime]s` of the related
6808+
the :t:`[generic parameter]s` or :t:`[higher-ranked trait bound]s` of the related
68106809
:t:`construct`.
68116810

68126811
.. _fls_si70t19ox07e:
@@ -7443,6 +7442,14 @@ unsafe context
74437442
An :dt:`unsafe context` is either an :t:`unsafe block` or an
74447443
:t:`unsafe function`.
74457444

7445+
.. _fls_pre02nas9dad:
7446+
7447+
unsafe external block
7448+
^^^^^^^^^^^^^^^^^^^^^
7449+
7450+
:dp:`fls_pkfgas34msas`
7451+
An :dt:`unsafe external block` is an :t:`external block` subject to keyword ``unsafe``.
7452+
74467453
.. _fls_ua64pv82skaw:
74477454

74487455
unsafe function

src/lexical-elements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1556,5 +1556,5 @@ Word ``union`` acts as a :t:`keyword` only when used in the context of a
15561556
:s:`UnionDeclaration`.
15571557

15581558
:dp:`fls_g0JEluWqBpNc`
1559-
Word ``safe`` acts as a :t:`keyword` only when used as a qualifier of :s:`Function` or :s:`Static` in the context of a :s:`ExternalBlock`.
1559+
Word ``safe`` acts as a :t:`keyword` only when used as a qualifier of :s:`FunctionDeclaration` or :s:`StaticDeclaration` in the context of a :s:`ExternalBlock`.
15601560

src/macros.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,44 +554,44 @@ as a :t:`statement`.
554554
.. rubric:: Examples
555555

556556
:dp:`fls_338rmbazl67o`
557-
See :p:`20.1. <fls_yrq1n547uzp>` for the declaration of ``answer_to_life``.
557+
See :p:`fls_xa7lp0zg1ol2` for the declaration of ``answer_to_life``.
558558

559559
.. code-block:: rust
560560
561561
answer_to_life!();
562562
563563
:dp:`fls_lrr7gg8tian`
564-
See :p:`20.1.1. <fls_mej9pty172v4>` for the declaration of ``square``.
564+
See :p:`fls_8nzypdu9j3ge` for the declaration of ``square``.
565565

566566
.. code-block:: rust
567567
568568
square!(5);
569569
570570
:dp:`fls_8qxwwf4trnl`
571-
See :p:`20.1.2. <fls_b45ng0j84lli>` for the declaration of ``generate_pairs``.
571+
See :p:`fls_k01lsksqtq1r` for the declaration of ``generate_pairs``.
572572

573573
.. code-block:: rust
574574
575575
generate_pairs!(1, 2, 3; 9, 8, 7);
576576
577577
:dp:`fls_8z1sgtvchhhw`
578-
See :p:`20.2.1. <fls_33w6tcb743j0>` for the declaration of
578+
See :p:`fls_2d6bqnpy6tvs` for the declaration of
579579
``make_answer_to_life``.
580580

581581
.. code-block:: rust
582582
583583
make_answer_to_life!();
584584
585585
:dp:`fls_d9w3dn2yn7mo`
586-
See :p:`20.2.2. <fls_uqp2svg2kntl>` for the declaration of ``Answer``.
586+
See :p:`fls_o8s3r7m90q59` for the declaration of ``Answer``.
587587

588588
.. code-block:: rust
589589
590590
#[derive(Answer)]
591591
struct derive_macro_invoker;
592592
593593
:dp:`fls_1tftbd91yfpd`
594-
See :p:`20.2.3. <fls_r5isidirsy03>` for the declaration of
594+
See :p:`fls_4vjbkm4ceymk` for the declaration of
595595
``output_and_return_item``.
596596

597597
.. code-block:: rust

src/ownership-and-deconstruction.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ of the assignment statement.
7373
7474
:dp:`fls_jmcjboopvytb`
7575
Variable ``c`` starts off initialized, but is later uninitialized by virtue of a
76-
transfer by move.
76+
transfer :t:`by move`.
7777

7878
.. code-block:: rust
7979
@@ -396,7 +396,7 @@ An :t:`uninitialized` :t:`variable` is not :t:`dropped`.
396396

397397
#. :dp:`fls_gjn2jnsal9gs`
398398
Otherwise, if the :t:`drop type` is a :t:`closure type`, then all
399-
:t:`[capture target]s` whose :t:`capture mode` is :t:`by move mode` are
399+
:t:`[capture target]s` whose :t:`capture mode` is :t:`by move` are
400400
:t:`dropped` in unspecified order.
401401

402402
#. :dp:`fls_ol2w2292frfi`
@@ -656,7 +656,7 @@ has an extended :t:`drop scope` is extended to the :t:`drop scope` of the
656656
.. rubric:: Examples
657657

658658
:dp:`fls_29y59x8bmw75`
659-
See :p:`15.6.1. <fls_u2mzjgiwbkz0>` for the declaration of ``PrintOnDrop``.
659+
See :p:`fls_u2mzjgiwbkz0` for the declaration of ``PrintOnDrop``.
660660

661661
:dp:`fls_subo2w7ln43q`
662662
The drop scope of the temporary created for expression ``AtomicI32::new(42)`` is
@@ -711,7 +711,7 @@ When multiple :t:`[drop scope]s` are left at once, the :t:`[value]s` are
711711
.. rubric:: Examples
712712

713713
:dp:`fls_oe8l81y0wnao`
714-
See :p:`15.6.1. <fls_u2mzjgiwbkz0>` for the declaration of ``PrintOnDrop``.
714+
See :p:`fls_u2mzjgiwbkz0` for the declaration of ``PrintOnDrop``.
715715

716716
:dp:`fls_4sgca9wcl8h0`
717717
The drop order of the following variables is ``b``, ``c``, ``a``. Dropping

src/types-and-traits.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ Floating Point Types
382382
.. rubric:: Dynamic Semantics
383383

384384
:dp:`fls_nuFAwLHOdQBx`
385-
Operations on values of :t:`floating point types` may not preserve the sign bit in case of the value being a IEEE floating-point ``NaN``.
385+
Operations on values of :t:`[floating point type]s` may not preserve the sign bit in case of the value being a IEEE floating-point ``NaN``.
386386

387387
.. _fls_3qnpv2z7yjil:
388388

@@ -2847,7 +2847,7 @@ A :t:`trait` is :t:`object safe` when:
28472847
Its :t:`[associated function]s` are :t:`object safe`, and
28482848

28492849
* :dp:`fls_vmLLL82EQasI`
2850-
Its :t:`[associated type alias]es` specify a :std:`core::marker::Sized`
2850+
Its :t:`[associated type]s` specify a :std:`core::marker::Sized`
28512851
:t:`[trait bound]` for :c:`Self` in a :t:`type bound predicate`.
28522852

28532853
:dp:`fls_uixekv82g2e5`
@@ -3014,7 +3014,7 @@ A :t:`lifetime bound` shall apply to :t:`[type]s` and other :t:`[lifetime]s`.
30143014
&'static Shape
30153015
30163016
:dp:`fls_gcszhqg6hnva`
3017-
See :p:`4.12. <fls_85vx1qfa061i>` for the declaration of Shape.
3017+
See :p:`fls_85vx1qfa061i` for the declaration of ``Shape``.
30183018

30193019
.. _fls_ikfvbeewame7:
30203020

0 commit comments

Comments
 (0)