Fix a mistake in release notes for 1.21.0
Also reorder changes to put the important one first.
This commit is contained in:
parent
5f578dfad0
commit
1138f853e1
1 changed files with 6 additions and 6 deletions
12
RELEASES.md
12
RELEASES.md
|
@ -3,12 +3,6 @@ Version 1.21.0 (2017-10-12)
|
||||||
|
|
||||||
Language
|
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]
|
- [You can now use static references for literals.][43838]
|
||||||
Example:
|
Example:
|
||||||
```rust
|
```rust
|
||||||
|
@ -16,6 +10,12 @@ Language
|
||||||
let x: &'static u32 = &0;
|
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
|
Compiler
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Add table
Reference in a new issue