Skip to content

Commit 82abe89

Browse files
committed
add compat note about changed Vec allocation behavior
1 parent 1c942e9 commit 82abe89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

RELEASES.md

+4
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Compatibility Notes
7878
code which expect a particular structure after `.to_string()`, rather than just arbitrary Rust code.
7979
- [Remove asmjs](https://github.com/rust-lang/rust/pull/117338/)
8080
- [Make `IMPLIED_BOUNDS_ENTAILMENT` into a hard error from a lint](https://github.com/rust-lang/rust/pull/117984/)
81+
- [Vec's allocation behavior was changed when collecting some iterators](https://github.com/rust-lang/rust/pull/110353)
82+
Allocation behavior is currently not specified, nevertheless changes can be surprising.
83+
See [`impl FromIterator for Vec`](https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#impl-FromIterator%3CT%3E-for-Vec%3CT%3E)
84+
for more details.
8185

8286
Maybe:
8387
- [rustc_llvm: Link to libkstat on Solaris/SPARC](https://github.com/rust-lang/rust/pull/114224/)

0 commit comments

Comments
 (0)