We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f578df commit 1138f85Copy full SHA for 1138f85
RELEASES.md
@@ -3,19 +3,19 @@ Version 1.21.0 (2017-10-12)
3
4
Language
5
--------
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
- ```
12
- [You can now use static references for literals.][43838]
13
Example:
14
```rust
15
fn main() {
16
let x: &'static u32 = &0;
17
}
18
```
+- [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
+ ```
19
20
Compiler
21
0 commit comments