Update RELEASES.md

This commit is contained in:
Aaron Power 2017-09-18 19:10:01 +01:00 committed by GitHub
parent 045b4f1cd5
commit f3c316d553

View file

@ -5,13 +5,13 @@ Language
-------- --------
- [Relaxed path syntax. You can now add type parameters to values][43540] - [Relaxed path syntax. You can now add type parameters to values][43540]
Example: Example:
``` ```rust
my_macro!(Vec<i32>::new); // Always worked my_macro!(Vec<i32>::new); // Always worked
my_macro!(Vec::<i32>::new); // Now works my_macro!(Vec::<i32>::new); // Now works
``` ```
- [You can now use static references for literals.][43838] - [You can now use static references for literals.][43838]
Example: Example:
``` ```rust
fn main() { fn main() {
let x: &'static u32 = 0; let x: &'static u32 = 0;
} }