mirror of https://github.com/rust-lang/rust.git
Update RELEASES.md
This commit is contained in:
parent
045b4f1cd5
commit
f3c316d553
|
@ -5,13 +5,13 @@ 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
|
||||
fn main() {
|
||||
let x: &'static u32 = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue