rust/library/core
Matthias Krüger e3fbaa87c9
Rollup merge of #122990 - SkiFire13:transmute-may-copy, r=jhpratt
Clarify transmute example

The example claims using an iterator will copy the entire vector, but this is not true in practice thanks to internal specializations in the stdlib (see https://godbolt.org/z/cnxo3MYs5 for confirmation that this doesn't reallocate nor iterate over the vec's elements). Since neither the copy nor the optimization is guaranteed I opted for saying that they _may_ happen.
2024-03-25 11:00:13 +01:00
..
benches Add benches for net parsing 2024-03-04 18:46:24 -05:00
src Rollup merge of #122990 - SkiFire13:transmute-may-copy, r=jhpratt 2024-03-25 11:00:13 +01:00
tests step cfgs 2024-03-20 08:49:13 -04:00
Cargo.toml