Skip to content

Commit 8b5ca08

Browse files
authored
Update RELEASES.md
1 parent afa007c commit 8b5ca08

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

RELEASES.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,19 @@ Version 1.21.0 (2017-10-12)
44
Language
55
--------
66
- [Relaxed path syntax. You can now add type parameters to values][43540]
7-
Example: `struct Foo<T>(T); let bar = Foo::<u8>(0);`.
8-
7+
Example:
8+
```
9+
my_macro!(Vec<i32>::new); // Always worked
10+
my_macro!(Vec::<i32>::new); // Now works aswell
11+
```
912
Compiler
1013
--------
1114
- [Upgraded jemalloc to 4.5.0][43911]
1215
- [Enabled unwinding panics on Redox][43917]
1316

1417
Libraries
1518
---------
16-
- [Generate builtin impls for `Clone` for `[T: N]` where `N` is between 0
19+
- [Generate builtin impls for `Clone` for `[T; N]` where `N` is between 0
1720
and 32][43690]
1821
- [`Stdin`, `Stdout`, and `Stderr` now implement `AsRawFd`.][43459]
1922
- [`Rc` and `Arc` now implement `From<&[T]> where T: Clone`, `From<str>`,
@@ -31,16 +34,17 @@ Cargo
3134
Misc
3235
----
3336
- [Cargo docs are moving][43916]
34-
to [doc.rust-lang.org/cargo](//doc.rust-lang.org/cargo)
37+
to [doc.rust-lang.org/cargo](https://doc.rust-lang.org/cargo)
3538
- [The rustdoc book is now available][43863]
36-
at [doc.rust-lang.org/rustdoc](//doc.rust-lang.org/rustdoc)
39+
at [doc.rust-lang.org/rustdoc](https://doc.rust-lang.org/rustdoc)
3740

3841
Compatibility Notes
3942
-------------------
4043
- [Remove the trait selection impl in method::probe][43880] This may cause
4144
breakage in subtyping corner cases.
42-
- [make JSON error's byte position start at top of file.][42973] Was previously
43-
relative to the `CodeMap` which required unstable code.
45+
- [rustc's JSON error output's byte position start at top of file.][42973]
46+
Was previously relative to the rustc's internal `CodeMap` struct which
47+
required the unstable library `libsyntax` to correctly use.
4448

4549
[42565]: https://github.com/rust-lang/rust/pull/42565
4650
[42973]: https://github.com/rust-lang/rust/pull/42973

0 commit comments

Comments
 (0)