diff options
| author | bors <bors@rust-lang.org> | 2025-01-12 23:08:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-12 23:08:30 +0000 |
| commit | e7ad3ae331bf2716389c10e01612e201a7f98c8d (patch) | |
| tree | fba1893a621dc7f495dd66d6bde0557061bf3d06 /library/alloc/src/macros.rs | |
| parent | 48a426eca9df23b24b3559e545cf88dee61d4de9 (diff) | |
| parent | 223a7c12373034817eab620005397edd65b66ef8 (diff) | |
| download | rust-e7ad3ae331bf2716389c10e01612e201a7f98c8d.tar.gz rust-e7ad3ae331bf2716389c10e01612e201a7f98c8d.zip | |
Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
Rollup of 7 pull requests Successful merges: - #135348 (rustdoc-json: Include items in stripped modules in `Crate::paths`.) - #135365 (Update the explanation for why we use box_new in vec!) - #135383 (De-abstract tagged ptr and make it covariant) - #135401 (Remove some empty expected files to fix blessing) - #135406 (Update unstable lint docs to include required feature attributes) - #135407 (Deny various clippy lints) - #135411 (run_make_support: add `#![warn(unreachable_pub)]`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/alloc/src/macros.rs')
| -rw-r--r-- | library/alloc/src/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/macros.rs b/library/alloc/src/macros.rs index 6ee3907cc8e..c000fd6f4ef 100644 --- a/library/alloc/src/macros.rs +++ b/library/alloc/src/macros.rs @@ -48,8 +48,8 @@ macro_rules! vec { ); ($($x:expr),+ $(,)?) => ( <[_]>::into_vec( - // Using the intrinsic produces a dramatic improvement in compile - // time when constructing arrays with many elements. + // Using the intrinsic produces a dramatic improvement in stack usage for + // unoptimized programs using this code path to construct large Vecs. $crate::boxed::box_new([$($x),+]) ) ); |
