Skip to content

Commit 87bae80

Browse files
borsgitbot
authored and
gitbot
committed
Auto merge of rust-lang#135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
Rollup of 7 pull requests Successful merges: - rust-lang#135348 (rustdoc-json: Include items in stripped modules in `Crate::paths`.) - rust-lang#135365 (Update the explanation for why we use box_new in vec!) - rust-lang#135383 (De-abstract tagged ptr and make it covariant) - rust-lang#135401 (Remove some empty expected files to fix blessing) - rust-lang#135406 (Update unstable lint docs to include required feature attributes) - rust-lang#135407 (Deny various clippy lints) - rust-lang#135411 (run_make_support: add `#![warn(unreachable_pub)]`) r? `@ghost` `@rustbot` modify labels: rollup
2 parents af3fec8 + 026346f commit 87bae80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alloc/src/macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ macro_rules! vec {
4848
);
4949
($($x:expr),+ $(,)?) => (
5050
<[_]>::into_vec(
51-
// Using the intrinsic produces a dramatic improvement in compile
52-
// time when constructing arrays with many elements.
51+
// Using the intrinsic produces a dramatic improvement in stack usage for
52+
// unoptimized programs using this code path to construct large Vecs.
5353
$crate::boxed::box_new([$($x),+])
5454
)
5555
);

0 commit comments

Comments
 (0)