Update RELEASES.md
This commit is contained in:
parent
045b4f1cd5
commit
f3c316d553
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue