Rollup merge of #45171 - rust-lang:petrochenkov-patch-2, r=steveklabnik

Fix a mistake in release notes for 1.21.0

Also reorder changes to put the important one first.
This commit is contained in:
Steve Klabnik 2017-10-10 20:22:28 -04:00 committed by GitHub
commit fa70d04dc5

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