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 49cbae8 commit 5b94a6dCopy full SHA for 5b94a6d
src/liballoc/raw_vec.rs
@@ -113,7 +113,7 @@ impl<T> RawVec<T> {
113
/// RawVec with capacity `usize::MAX`. Useful for implementing
114
/// delayed allocation.
115
pub const fn new() -> Self {
116
- Self::new_in(AbortAdapter(Global))
+ Self::new_in(Default::default())
117
}
118
119
/// Creates a RawVec (on the system heap) with exactly the
0 commit comments