@@ -281,8 +281,8 @@ The :t:`type` of a :t:`literal pattern` is the :t:`type` of the specified
281
281
.. rubric :: Examples
282
282
283
283
:dp: `fls_fqclaznjgtb1 `
284
- Two literal patterns in the context of a match expression. See :p: ` 5.1.1.
285
- <fls_yeajwokikkdi> ` for the declaration of ``x ``.
284
+ Two literal patterns in the context of a match expression.
285
+ See :p: ` fls_sfyfdxhvhk44 ` for the declaration of ``x ``.
286
286
287
287
.. code-block :: rust
288
288
@@ -321,7 +321,7 @@ The :t:`type` of a :t:`parenthesized pattern` is the :t:`type` of its nested
321
321
.. rubric :: Examples
322
322
323
323
:dp: `fls_2xq8852gihn9 `
324
- See :p: `5.1.1. <fls_yeajwokikkdi> ` for the declaration of ``x ``.
324
+ See :p: `fls_sfyfdxhvhk44 ` for the declaration of ``x ``.
325
325
326
326
.. code-block :: rust
327
327
@@ -411,7 +411,7 @@ The :t:`type` of a :t:`path pattern` is the :t:`type` of the :t:`constant`,
411
411
enum Enum { Variant }
412
412
413
413
:dp: `fls_u59rilepu8z9 `
414
- See :p: `5.1.1. <fls_yeajwokikkdi> ` for the declaration of ``x ``.
414
+ See :p: `fls_sfyfdxhvhk44 ` for the declaration of ``x ``.
415
415
416
416
.. code-block :: rust
417
417
@@ -504,7 +504,7 @@ less than or equal to its :t:`range pattern high bound`.
504
504
505
505
:dp: `fls_8bdOqkO1NuJW `
506
506
The :t: `range pattern low bound ` of an :t: `exclusive range pattern ` shall be
507
- less than to its :t: `range pattern high bound `.
507
+ less than its :t: `range pattern high bound `.
508
508
509
509
:dp: `fls_s2b5n4snc4d7 `
510
510
An :t: `obsolete range pattern ` is equivalent to an :t: `inclusive range pattern `.
@@ -540,8 +540,8 @@ A :t:`qualified path expression` of a :t:`range pattern` shall refer to an
540
540
.. rubric :: Examples
541
541
542
542
:dp: `fls_3wwpq8i6mo2a `
543
- Two range patterns in the context of a match expression. See :p: ` 5.1.1.
544
- <fls_yeajwokikkdi> ` for the declaration of ``x ``.
543
+ Two range patterns in the context of a match expression.
544
+ See :p: ` fls_sfyfdxhvhk44 ` for the declaration of ``x ``.
545
545
546
546
.. code-block :: rust
547
547
@@ -590,8 +590,8 @@ The :t:`type` of a :t:`reference pattern` is determined as follows:
590
590
.. rubric :: Examples
591
591
592
592
:dp: `fls_mpeuhov0umfa `
593
- A reference pattern in the context of a match expression. See :p: ` 5.1.3.
594
- <fls_yowuqu7bcu7b> ` for the declaration of ``ref_x ``.
593
+ A reference pattern in the context of a match expression.
594
+ See :p: ` fls_2xq8852gihn9 ` for the declaration of ``ref_x ``.
595
595
596
596
.. code-block :: rust
597
597
@@ -750,7 +750,7 @@ A :t:`struct pattern` is an :t:`irrefutable pattern` if
750
750
All of its :t: `[subpattern]s ` are :t: `[irrefutable pattern]s `, and
751
751
752
752
* :dp: `fls_p4OplpUvS04l `
753
- The :t: `deconstructree ` is either:
753
+ The :t: `deconstructee ` is either:
754
754
755
755
* :dp: `fls_pre3YwAv01FE `
756
756
A :t: `struct type ` or a :t: `union type `, or
@@ -943,6 +943,9 @@ a :t:`union type` when the :t:`field` contains data that is invalid for the
943
943
944
944
.. rubric :: Examples
945
945
946
+ :dp: `fls_zRCiKnhQebyp `
947
+ A record struct pattern deconstructing a record struct.
948
+
946
949
.. code-block :: rust
947
950
948
951
struct RecordStruct {
@@ -958,6 +961,11 @@ a :t:`union type` when the :t:`field` contains data that is invalid for the
958
961
RecordStruct { .. } => (),
959
962
}
960
963
964
+ :dp: `fls_D5tAGzrjXFTu `
965
+ A record struct pattern deconstructing a tuple struct.
966
+
967
+ .. code-block :: rust
968
+
961
969
struct TupleStruct (
962
970
u32,
963
971
u32,
@@ -971,6 +979,11 @@ a :t:`union type` when the :t:`field` contains data that is invalid for the
971
979
TupleStruct { .. } => (),
972
980
}
973
981
982
+ :dp: `fls_FhvMzLPRlY7p `
983
+ A record struct pattern deconstructing a union.
984
+
985
+ .. code-block :: rust
986
+
974
987
union Union {
975
988
first : u32,
976
989
second: u32,
@@ -1055,7 +1068,7 @@ A :s:`RecordStructRestPattern` is allowed even if all :t:`[field]s` of the
1055
1068
.. rubric :: Examples
1056
1069
1057
1070
:dp: `fls_2u99arsbnlnk `
1058
- See :p: `5.1.9.1. <fls_nruvg0es3kx7> ` for the declarations of ``TupleStruct `` and
1071
+ See :p: `fls_D5tAGzrjXFTu ` for the declarations of ``TupleStruct `` and
1059
1072
``tuple_struct_value ``.
1060
1073
1061
1074
.. code-block :: rust
@@ -1175,8 +1188,8 @@ it matches.
1175
1188
.. rubric :: Examples
1176
1189
1177
1190
:dp: `fls_j3u6x1ensrbe `
1178
- An underscore pattern in the context of a let statement. See :p: ` 5.1.10.
1179
- <fls_fo48m62q2y0v> ` for the declaration of ``pair ``.
1191
+ An underscore pattern in the context of a let statement.
1192
+ See :p: ` fls_8r81vtv5hnrd ` for the declaration of ``pair ``.
1180
1193
1181
1194
.. code-block :: rust
1182
1195
0 commit comments