diff --git a/src/entities-and-resolution.rst b/src/entities-and-resolution.rst index 1a9222ee..00cd3ecb 100644 --- a/src/entities-and-resolution.rst +++ b/src/entities-and-resolution.rst @@ -402,7 +402,7 @@ then the :t:`path segment` shall be the last :t:`path segment` of the .. rubric:: Examples :dp:`fls_cul31g1kkz5c` -The following is a simple path. See :p:`fls_jdknpu3kf865` for the +The following is a simple path. See :ref:`fls_jdknpu3kf865` for the declaration of ``crate_visible_function``. .. code-block:: rust @@ -1138,7 +1138,7 @@ the :t:`visibility` of the :t:`name` is the most permissive one. .. rubric:: Examples :dp:`fls_5dlnffim6fso` -The following is a glob import. See :p:`fls_jdknpu3kf865` +The following is a glob import. See :ref:`fls_jdknpu3kf865` for the declaration of modules and functions. The imported functions are ``create_visible_function``, ``outer_module_visible_function``, ``visible_function``. diff --git a/src/macros.rst b/src/macros.rst index b5bcd3cd..545aaf39 100644 --- a/src/macros.rst +++ b/src/macros.rst @@ -554,28 +554,28 @@ as a :t:`statement`. .. rubric:: Examples :dp:`fls_338rmbazl67o` -See :p:`fls_xa7lp0zg1ol2` for the declaration of ``answer_to_life``. +See :ref:`fls_xa7lp0zg1ol2` for the declaration of ``answer_to_life``. .. code-block:: rust answer_to_life!(); :dp:`fls_lrr7gg8tian` -See :p:`fls_8nzypdu9j3ge` for the declaration of ``square``. +See :ref:`fls_8nzypdu9j3ge` for the declaration of ``square``. .. code-block:: rust square!(5); :dp:`fls_8qxwwf4trnl` -See :p:`fls_k01lsksqtq1r` for the declaration of ``generate_pairs``. +See :ref:`fls_k01lsksqtq1r` for the declaration of ``generate_pairs``. .. code-block:: rust generate_pairs!(1, 2, 3; 9, 8, 7); :dp:`fls_8z1sgtvchhhw` -See :p:`fls_2d6bqnpy6tvs` for the declaration of +See :ref:`fls_2d6bqnpy6tvs` for the declaration of ``make_answer_to_life``. .. code-block:: rust @@ -583,7 +583,7 @@ See :p:`fls_2d6bqnpy6tvs` for the declaration of make_answer_to_life!(); :dp:`fls_d9w3dn2yn7mo` -See :p:`fls_o8s3r7m90q59` for the declaration of ``Answer``. +See :ref:`fls_o8s3r7m90q59` for the declaration of ``Answer``. .. code-block:: rust @@ -591,7 +591,7 @@ See :p:`fls_o8s3r7m90q59` for the declaration of ``Answer``. struct derive_macro_invoker; :dp:`fls_1tftbd91yfpd` -See :p:`fls_4vjbkm4ceymk` for the declaration of +See :ref:`fls_4vjbkm4ceymk` for the declaration of ``output_and_return_item``. .. code-block:: rust diff --git a/src/ownership-and-deconstruction.rst b/src/ownership-and-deconstruction.rst index f8351cf2..d0c96e57 100644 --- a/src/ownership-and-deconstruction.rst +++ b/src/ownership-and-deconstruction.rst @@ -664,7 +664,7 @@ has an extended :t:`drop scope` is extended to the :t:`drop scope` of the .. rubric:: Examples :dp:`fls_29y59x8bmw75` -See :p:`fls_u2mzjgiwbkz0` for the declaration of ``PrintOnDrop``. +See :ref:`fls_u2mzjgiwbkz0` for the declaration of ``PrintOnDrop``. :dp:`fls_subo2w7ln43q` The drop scope of the temporary created for expression ``AtomicI32::new(42)`` is @@ -719,7 +719,7 @@ When multiple :t:`[drop scope]s` are left at once, the :t:`[value]s` are .. rubric:: Examples :dp:`fls_oe8l81y0wnao` -See :p:`fls_u2mzjgiwbkz0` for the declaration of ``PrintOnDrop``. +See :ref:`fls_u2mzjgiwbkz0` for the declaration of ``PrintOnDrop``. :dp:`fls_4sgca9wcl8h0` The drop order of the following variables is ``b``, ``c``, ``a``. Dropping diff --git a/src/types-and-traits.rst b/src/types-and-traits.rst index 45fd5b6e..9f998511 100644 --- a/src/types-and-traits.rst +++ b/src/types-and-traits.rst @@ -3019,7 +3019,7 @@ A :t:`lifetime bound` shall apply to :t:`[type]s` and other :t:`[lifetime]s`. &'static Shape :dp:`fls_gcszhqg6hnva` -See :p:`fls_85vx1qfa061i` for the declaration of ``Shape``. +See :ref:`fls_85vx1qfa061i` for the declaration of ``Shape``. .. _fls_ikfvbeewame7: