about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorNadrieril <Nadrieril@users.noreply.github.com>2024-01-31 12:10:50 +0100
committerGitHub <noreply@github.com>2024-01-31 12:10:50 +0100
commit03daaa6f0777dc703c5aea9868b42762c96b90a6 (patch)
tree7faf8da4351f5907948480b2fa7dd6d349264280 /compiler/rustc_pattern_analysis/src
parent0eaa32fce26bd61944c534d98fb632982320f7c1 (diff)
parent39dc3153c52dc244207e02323584f94e63003281 (diff)
downloadrust-03daaa6f0777dc703c5aea9868b42762c96b90a6.tar.gz
rust-03daaa6f0777dc703c5aea9868b42762c96b90a6.zip
Rollup merge of #120355 - the8472:doc-vec-fromiter, r=cuviper
document `FromIterator for Vec` allocation behaviors

[t-libs discussion](https://rust-lang.zulipchat.com/#narrow/stream/259402-t-libs.2Fmeetings/topic/Meeting.202024-01-24/near/417686526) about #120091 didn't reach a strong consensus, but it was agreed that if we keep the current behavior it should at least be documented even though it is an implementation detail.

The language is intentionally non-committal. The previous (non-existent) documentation permits a lot of implementation leeway and we want retain that. In some cases we even must retain it to be able to rip out some code paths that rely on unstable features.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions