Skip to content

Commit

Permalink
add compat note about changed Vec allocation behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
the8472 committed Jan 25, 2024
1 parent 1c942e9 commit 82abe89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ Compatibility Notes
code which expect a particular structure after `.to_string()`, rather than just arbitrary Rust code.
- [Remove asmjs](https:/rust-lang/rust/pull/117338/)
- [Make `IMPLIED_BOUNDS_ENTAILMENT` into a hard error from a lint](https:/rust-lang/rust/pull/117984/)
- [Vec's allocation behavior was changed when collecting some iterators](https:/rust-lang/rust/pull/110353)
Allocation behavior is currently not specified, nevertheless changes can be surprising.
See [`impl FromIterator for Vec`](https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#impl-FromIterator%3CT%3E-for-Vec%3CT%3E)
for more details.

Maybe:
- [rustc_llvm: Link to libkstat on Solaris/SPARC](https:/rust-lang/rust/pull/114224/)
Expand Down

0 comments on commit 82abe89

Please sign in to comment.