summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-10-10 15:45:04 +0300
committerGitHub <noreply@github.com>2017-10-10 15:45:04 +0300
commit1138f853e194a79f7465233adefe550e7b8c6b5a (patch)
tree646fcf7f4cefea108381b81e88ba40496de3aa56
parent5f578dfad0dd5d43b28eff71a7e857d10c3f55fe (diff)
downloadrust-1138f853e194a79f7465233adefe550e7b8c6b5a.tar.gz
Fix a mistake in release notes for 1.21.0petrochenkov-patch-2
Also reorder changes to put the important one first.
-rw-r--r--RELEASES.md12
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
--------