Skip to content

Range expressions grammar#142

Merged
Havvy merged 1 commit intorust-lang:masterfrom
brauliobz:grammar_range_expr
Oct 16, 2017
Merged

Range expressions grammar#142
Havvy merged 1 commit intorust-lang:masterfrom
brauliobz:grammar_range_expr

Conversation

@brauliobz
Copy link
Contributor

Part of #84.


| Production | Syntax | Type | Range |
|------------------------|---------------|------------------------------|-----------------------|
| _RangeExpr_ | start`..`end | [std::ops::Range] | start ≤ x < end |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth using <pre> tags to preserve the formatting in the Range column?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean to keep the ≤, x and < aligned (like they are in the source code)?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@Havvy Havvy merged commit 796eeab into rust-lang:master Oct 16, 2017
@Havvy
Copy link
Contributor

Havvy commented Oct 16, 2017

💟 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants