Skip to content

Commit 542e007

Browse files
committed
Specify drop scope if and match extension
1 parent a3de66c commit 542e007

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/ownership-and-deconstruction.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,18 @@ An :dt:`extending expression` is either
625625
:t:`array expression`, a :t:`borrow expression`, a :t:`struct expression`, a
626626
:t:`tuple expression`, or a :t:`type cast expression`, or
627627

628+
* :dp:`fls_Rj9zhVutfQod`
629+
The :t:`block expression` and :t:`else expression` of an :t:`if expression`
630+
that is an :t:`extending expression`.
631+
632+
* :dp:`fls_oodpp3LpXC13`
633+
The :t:`expression` of an :t:`else expression` that is an :t:`extending
634+
expression`.
635+
636+
* :dp:`fls_xGThCPoTUSAi`
637+
The :t:`expression` of a :t:`match arm` of a :t:`match expression` that is an
638+
:t:`extending expression`.
639+
628640
* :dp:`fls_iqw0d1l1lj3i`
629641
The :t:`tail expression` of a :t:`block expression` that is an
630642
:t:`extending expression`.

0 commit comments

Comments
 (0)