summaryrefslogtreecommitdiff
path: root/RELEASES.md
diff options
context:
space:
mode:
Diffstat (limited to 'RELEASES.md')
-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
--------