Fix a mistake in release notes for 1.21.0

Also reorder changes to put the important one first.
This commit is contained in:
Vadim Petrochenkov 2017-10-10 15:45:04 +03:00 committed by GitHub
parent 5f578dfad0
commit 1138f853e1

View file

@ -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
--------