diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2017-10-10 20:22:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-10 20:22:28 -0400 |
| commit | fa70d04dc581feb52f4d29d0005f7496201d3568 (patch) | |
| tree | 95dc43fb0dfad5827e092e0677acf0de152f6b3f | |
| parent | eac9138a79e6edc480e05f5562a457556713252a (diff) | |
| parent | 1138f853e194a79f7465233adefe550e7b8c6b5a (diff) | |
| download | rust-fa70d04dc581feb52f4d29d0005f7496201d3568.tar.gz rust-fa70d04dc581feb52f4d29d0005f7496201d3568.zip | |
Rollup merge of #45171 - rust-lang:petrochenkov-patch-2, r=steveklabnik
Fix a mistake in release notes for 1.21.0 Also reorder changes to put the important one first.
| -rw-r--r-- | RELEASES.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/RELEASES.md b/RELEASES.md index e65934a89e6..194745d9caa 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -3,12 +3,6 @@ Version 1.21.0 (2017-10-12) Language -------- -- [Relaxed path syntax. You can now add type parameters to values][43540] - Example: - ```rust - my_macro!(Vec<i32>::new); // Always worked - my_macro!(Vec::<i32>::new); // Now works - ``` - [You can now use static references for literals.][43838] Example: ```rust @@ -16,6 +10,12 @@ Language let x: &'static u32 = &0; } ``` +- [Relaxed path syntax. Optional `::` before `<` is now allowed in all contexts.][43540] + Example: + ```rust + my_macro!(Vec<i32>::new); // Always worked + my_macro!(Vec::<i32>::new); // Now works + ``` Compiler -------- |
