-
Notifications
You must be signed in to change notification settings - Fork 38
document Rust 1.89 #579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document Rust 1.89 #579
Changes from 11 commits
421b07e
9560aff
5154644
999b83d
318a2f8
6cb5c1e
1d6b3dc
71cd166
db989c8
902bbf3
3d4854e
27d3a35
b27781c
a163ba2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -610,16 +610,20 @@ If the :t:`pattern-without-alternation` of a :t:`let statement` is an | |
| the :t:`let statement` is extended to the :t:`drop scope` of the | ||
| :t:`block expression` that contains the :t:`let statement`. | ||
|
|
||
| :dp:`fls_YeeZWqTdMivX` | ||
| An :dt:`extending expression` is an :t:`expression` with an | ||
| :t:`extended drop scope <drop scope extension>`. | ||
|
|
||
| :dp:`fls_wyzau8hhq74d` | ||
| An :dt:`extending expression` is either | ||
| An :t:`extending expression` is any of the following: | ||
|
|
||
| * :dp:`fls_ju7cpftd8r2g` | ||
| The :t:`expression` of a :t:`let statement`, or | ||
| The :t:`expression` of a :t:`let statement`. | ||
|
|
||
| * :dp:`fls_gjd1ow3l7swe` | ||
| The :t:`operand` of an :t:`extending expression` that is an | ||
| :t:`array expression`, a :t:`borrow expression`, a :t:`struct expression`, a | ||
| :t:`tuple expression`, or a :t:`type cast expression`, or | ||
| :t:`tuple expression`, or a :t:`type cast expression`. | ||
|
|
||
| * :dp:`fls_Rj9zhVutfQod` | ||
| The :t:`block expression` and :t:`else expression` of an :t:`if expression` | ||
|
|
@@ -637,6 +641,10 @@ An :dt:`extending expression` is either | |
| The :t:`tail expression` of a :t:`block expression` that is an | ||
| :t:`extending expression`. | ||
|
|
||
| * :dp:`fls_eeaJtK4w5gVK` | ||
| The :t:`[argument operand]s` of an extending :t:`call expression` | ||
| of a :t:`tuple struct` or a :t:`tuple enum variant`. | ||
|
|
||
|
Comment on lines
644
to
647
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This might be correct in the Reference, but I don't think this verbiage matches the style and structure here. The FLS doesn't say "the X of an extending Y expression". It says "the X of an Y expression that is an extending expression". This makes sense in the context of how the FLS is tying things back to the defined term "extending expression". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, do you think that "call expression of a tuple struct" is a clear enough way to describe a call expression where the call operand corresponds to the value namespace constructor for a tuple struct? The "of" there reads a bit odd to me. The glossary entry for "tuple struct call expression" defines it in terms of a "call expression where the call operand resolves to a tuple struct", and something like that sounds much clearer. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| :dp:`fls_aq01wjpkxhq9` | ||
| The :t:`drop scope` of the :t:`operand` of a :t:`borrow expression` that is an | ||
| :t:`extending expression` is extended to the :t:`drop scope` of the | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.