Skip to content

Commit

Permalink
Fix a mistake in release notes for 1.21.0
Browse files Browse the repository at this point in the history
Also reorder changes to put the important one first.
  • Loading branch information
petrochenkov authored Oct 10, 2017
1 parent 5f578df commit 1138f85
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ 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
fn main() {
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
--------
Expand Down

0 comments on commit 1138f85

Please sign in to comment.