Skip to content

Commit 712f76f

Browse files
committed
Merge pull request rust-lang#31971 from brson/beta-next
Beta next
2 parents 5ed7d4e + 143c4ec commit 712f76f

File tree

1 file changed

+71
-62
lines changed

1 file changed

+71
-62
lines changed

RELEASES.md

+71-62
Original file line numberDiff line numberDiff line change
@@ -14,69 +14,71 @@ Language
1414
Libraries
1515
---------
1616

17-
* Stabilized APIs:
18-
[`Path::strip_prefix`][] (renamed from relative_from),
19-
[`path::StripPrefixError`][] (new error type returned from strip_prefix),
20-
[`Ipv4Addr::is_loopback`],
21-
[`Ipv4Addr::is_private`],
22-
[`Ipv4Addr::is_link_local`],
23-
[`Ipv4Addr::is_multicast`],
24-
[`Ipv4Addr::is_broadcast`],
25-
[`Ipv4Addr::is_documentation`],
26-
[`Ipv6Addr::is_unspecified`],
27-
[`Ipv6Addr::is_loopback`],
28-
[`Ipv6Addr::is_multicast`],
29-
[`Vec::as_slice`],
30-
[`Vec::as_mut_slice`],
31-
[`String::as_str`],
32-
[`String::as_mut_str`],
33-
`<[T]>::`[`clone_from_slice`], which now requires the two slices to
34-
be the same length
35-
`<[T]>::`[`sort_by_key`],
36-
[`i32::checked_rem`],
37-
[`i32::checked_neg`],
38-
[`i32::checked_shl`],
39-
[`i32::checked_shr`],
40-
[`i32::saturating_mul`],
41-
[`i32::overflowing_add`],
42-
[`i32::overflowing_sub`],
43-
[`i32::overflowing_mul`],
44-
[`i32::overflowing_div`],
45-
[`i32::overflowing_rem`],
46-
[`i32::overflowing_neg`],
47-
[`i32::overflowing_shl`],
48-
[`i32::overflowing_shr`],
49-
[`u32::checked_rem`],
50-
[`u32::checked_neg`],
51-
[`u32::checked_shl`],
52-
[`u32::checked_shl`],
53-
[`u32::saturating_mul`],
54-
[`u32::overflowing_add`],
55-
[`u32::overflowing_sub`],
56-
[`u32::overflowing_mul`],
57-
[`u32::overflowing_div`],
58-
[`u32::overflowing_rem`],
59-
[`u32::overflowing_neg`],
60-
[`u32::overflowing_shl`],
61-
[`u32::overflowing_shr`],
62-
checked, saturated, and overflowing operations for other primitive types,
63-
[`ffi::IntoStringError`],
64-
[`CString::into_string`],
65-
[`CString::into_bytes`],
66-
[`CString::into_bytes_with_nul`],
67-
`From<CString> for Vec<u8>`,
68-
[`IntoStringError::into_cstring`],
69-
[`IntoStringError::utf8_error`],
70-
`Error for IntoStringError`.
17+
* Stabilized APIs
18+
* `Path`
19+
* [`Path::strip_prefix`][] (renamed from relative_from)
20+
* [`path::StripPrefixError`][] (new error type returned from strip_prefix)
21+
* `Ipv4Addr`
22+
* [`Ipv4Addr::is_loopback`]
23+
* [`Ipv4Addr::is_private`]
24+
* [`Ipv4Addr::is_link_local`]
25+
* [`Ipv4Addr::is_multicast`]
26+
* [`Ipv4Addr::is_broadcast`]
27+
* [`Ipv4Addr::is_documentation`]
28+
* `Ipv6Addr`
29+
* [`Ipv6Addr::is_unspecified`]
30+
* [`Ipv6Addr::is_loopback`]
31+
* [`Ipv6Addr::is_multicast`]
32+
* `Vec`
33+
* [`Vec::as_slice`]
34+
* [`Vec::as_mut_slice`]
35+
* `String`
36+
* [`String::as_str`]
37+
* [`String::as_mut_str`]
38+
* Slices
39+
* `<[T]>::`[`clone_from_slice`], which now requires the two slices to
40+
be the same length
41+
* `<[T]>::`[`sort_by_key`]
42+
* checked, saturated, and overflowing operations
43+
* [`i32::checked_rem`], [`i32::checked_neg`], [`i32::checked_shl`], [`i32::checked_shr`]
44+
* [`i32::saturating_mul`]
45+
* [`i32::overflowing_add`], [`i32::overflowing_sub`], [`i32::overflowing_mul`], [`i32::overflowing_div`]
46+
* [`i32::overflowing_rem`], [`i32::overflowing_neg`], [`i32::overflowing_shl`], [`i32::overflowing_shr`]
47+
* [`u32::checked_rem`], [`u32::checked_neg`], [`u32::checked_shl`], [`u32::checked_shl`]
48+
* [`u32::saturating_mul`]
49+
* [`u32::overflowing_add`], [`u32::overflowing_sub`], [`u32::overflowing_mul`], [`u32::overflowing_div`]
50+
* [`u32::overflowing_rem`], [`u32::overflowing_neg`], [`u32::overflowing_shl`], [`u32::overflowing_shr`]
51+
* and checked, saturated, and overflowing operations for other primitive types
52+
* FFI
53+
* [`ffi::IntoStringError`]
54+
* [`CString::into_string`]
55+
* [`CString::into_bytes`]
56+
* [`CString::into_bytes_with_nul`]
57+
* `From<CString> for Vec<u8>`
58+
* `IntoStringError`
59+
* [`IntoStringError::into_cstring`]
60+
* [`IntoStringError::utf8_error`]
61+
* `Error for IntoStringError`
62+
* Hashing
63+
* [`std::hash::BuildHasher`]
64+
* [`BuildHasher::Hasher`]
65+
* [`BuildHasher::build_hasher`]
66+
* [`std::hash::BuildHasherDefault`]
67+
* [`HashMap::with_hasher`]
68+
* [`HashMap::with_capacity_and_hasher`]
69+
* [`HashSet::with_hasher`]
70+
* [`HashSet::with_capacity_and_hasher`]
71+
* [`std::collections::hash_map::RandomState`]
72+
* [`RandomState::new`]
7173
* [Validating UTF-8 is faster by a factor of between 7 and 14x for
7274
ASCII input][1.7utf8]. This means that creating `String`s and `str`s
7375
from bytes is faster.
7476
* [The performance of `LineWriter` (and thus `io::stdout`) was
7577
improved by using `memchr` to search for newlines][1.7m].
7678
* [`f32::to_degrees` and `f32::to_radians` are stable][1.7f]. The
7779
`f64` variants were stabilized previously.
78-
* [`BTreeMap` was rewritten to use less memory improve performance of
79-
insertion and iteration, the latter by as much as 5x`][1.7bm].
80+
* [`BTreeMap` was rewritten to use less memory and improve the performance
81+
of insertion and iteration, the latter by as much as 5x][1.7bm].
8082
* [`BTreeSet` and its iterators, `Iter`, `IntoIter`, and `Range` are
8183
covariant over their contained type][1.7bt].
8284
* [`LinkedList` and its iterators, `Iter` and `IntoIter` are covariant
@@ -89,9 +91,6 @@ Libraries
8991
Misc
9092
----
9193

92-
* [The `--error-format=json` flag to `rustc` causes it to emit errors
93-
in JSON format][1.7j]. This is an unstable flag and so also requires
94-
the `-Z unstable-options` flag.
9594
* [When running tests with `--test`, rustdoc will pass `--cfg`
9695
arguments to the compiler][1.7dt].
9796
* [The compiler is built with RPATH information by default][1.7rpa].
@@ -135,7 +134,6 @@ Compatibility Notes
135134
[1.7dta]: https://github.com/rust-lang/rust/pull/30394
136135
[1.7f]: https://github.com/rust-lang/rust/pull/30672
137136
[1.7h]: https://github.com/rust-lang/rust/pull/30818
138-
[1.7j]: https://github.com/rust-lang/rust/pull/30711
139137
[1.7ll]: https://github.com/rust-lang/rust/pull/30663
140138
[1.7m]: https://github.com/rust-lang/rust/pull/30381
141139
[1.7p]: https://github.com/rust-lang/rust/pull/30681
@@ -146,11 +144,15 @@ Compatibility Notes
146144
[1.7utf8]: https://github.com/rust-lang/rust/pull/30740
147145
[1.7v]: https://github.com/rust-lang/rust/pull/29973
148146
[RFC 1214]: https://github.com/rust-lang/rfcs/blob/master/text/1214-projections-lifetimes-and-wf.md
149-
[`clone_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice
150-
[`sort_by_key`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key
147+
[`BuildHasher::Hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.Hasher.html
148+
[`BuildHasher::build_hasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html#tymethod.build_hasher
151149
[`CString::into_bytes_with_nul`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes_with_nul
152150
[`CString::into_bytes`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_bytes
153151
[`CString::into_string`]: http://doc.rust-lang.org/nightly/std/ffi/struct.CString.html#method.into_string
152+
[`HashMap::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_capacity_and_hasher
153+
[`HashMap::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashMap.html#method.with_hasher
154+
[`HashSet::with_capacity_and_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_capacity_and_hasher
155+
[`HashSet::with_hasher`]: http://doc.rust-lang.org/nightly/std/collections/struct.HashSet.html#method.with_hasher
154156
[`IntoStringError::into_cstring`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.into_cstring
155157
[`IntoStringError::utf8_error`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html#method.utf8_error
156158
[`Ipv4Addr::is_broadcast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv4Addr.html#method.is_broadcast
@@ -163,10 +165,12 @@ Compatibility Notes
163165
[`Ipv6Addr::is_multicast`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_multicast
164166
[`Ipv6Addr::is_unspecified`]: http://doc.rust-lang.org/nightly/std/net/struct.Ipv6Addr.html#method.is_unspecified
165167
[`Path::strip_prefix`]: http://doc.rust-lang.org/nightly/std/path/struct.Path.html#method.strip_prefix
168+
[`RandomState::new`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html#method.new
166169
[`String::as_mut_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_mut_str
167170
[`String::as_str`]: http://doc.rust-lang.org/nightly/std/string/struct.String.html#method.as_str
168171
[`Vec::as_mut_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_mut_slice
169172
[`Vec::as_slice`]: http://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.as_slice
173+
[`clone_from_slice`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.clone_from_slice
170174
[`ffi::IntoStringError`]: http://doc.rust-lang.org/nightly/std/ffi/struct.IntoStringError.html
171175
[`i32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_neg
172176
[`i32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.checked_rem
@@ -182,6 +186,11 @@ Compatibility Notes
182186
[`i32::overflowing_sub`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.overflowing_sub
183187
[`i32::saturating_mul`]: http://doc.rust-lang.org/nightly/std/primitive.i32.html#method.saturating_mul
184188
[`path::StripPrefixError`]: http://doc.rust-lang.org/nightly/std/path/struct.StripPrefixError.html
189+
[`sort_by_key`]: http://doc.rust-lang.org/nightly/std/primitive.slice.html#method.sort_by_key
190+
[`std::collections::hash_map::RandomState`]: http://doc.rust-lang.org/nightly/std/collections/hash_map/struct.RandomState.html
191+
[`std::hash::BuildHasherDefault`]: http://doc.rust-lang.org/nightly/std/hash/struct.BuildHasherDefault.html
192+
[`std::hash::BuildHasher`]: http://doc.rust-lang.org/nightly/std/hash/trait.BuildHasher.html
193+
[`u32::checked_neg`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_neg
185194
[`u32::checked_rem`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_rem
186195
[`u32::checked_shl`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.checked_shl
187196
[`u32::overflowing_add`]: http://doc.rust-lang.org/nightly/std/primitive.u32.html#method.overflowing_add

0 commit comments

Comments
 (0)