Skip to content

Commit 1138f85

Browse files
authored
Fix a mistake in release notes for 1.21.0
Also reorder changes to put the important one first.
1 parent 5f578df commit 1138f85

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

RELEASES.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ Version 1.21.0 (2017-10-12)
33

44
Language
55
--------
6-
- [Relaxed path syntax. You can now add type parameters to values][43540]
7-
Example:
8-
```rust
9-
my_macro!(Vec<i32>::new); // Always worked
10-
my_macro!(Vec::<i32>::new); // Now works
11-
```
126
- [You can now use static references for literals.][43838]
137
Example:
148
```rust
159
fn main() {
1610
let x: &'static u32 = &0;
1711
}
1812
```
13+
- [Relaxed path syntax. Optional `::` before `<` is now allowed in all contexts.][43540]
14+
Example:
15+
```rust
16+
my_macro!(Vec<i32>::new); // Always worked
17+
my_macro!(Vec::<i32>::new); // Now works
18+
```
1919

2020
Compiler
2121
--------

0 commit comments

Comments
 (0)