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 36345a4 commit 2740ef2Copy full SHA for 2740ef2
library/alloc/src/vec/mod.rs
@@ -446,9 +446,7 @@ impl<T> Vec<T> {
446
#[stable(feature = "rust1", since = "1.0.0")]
447
#[must_use]
448
pub const fn new() -> Self {
449
- #[allow(unused_braces)]
450
- Vec::<T, Global, { CO_ALLOC_PREF_DEFAULT!() }>::new_co()
451
- //Self::new_co()
+ Self::new_co()
452
}
453
454
/// Constructs a new, empty `Vec<T>` with at least the specified capacity.
0 commit comments