We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce55b20 commit fe921edCopy full SHA for fe921ed
library/alloc/src/macros.rs
@@ -48,9 +48,7 @@ macro_rules! vec {
48
);
49
($($x:expr),+ $(,)?) => (
50
<[_]>::into_vec(
51
- // Using the intrinsic produces a dramatic improvement in compile
52
- // time when constructing arrays with many elements.
53
- $crate::boxed::box_new([$($x),+])
+ $crate::boxed::Box::new([$($x),+])
54
)
55
56
}
0 commit comments