Skip to content

Commit 5b94a6d

Browse files
Ericson2314fbstj
andauthored
Update src/liballoc/raw_vec.rs
Co-Authored-By: Joe ST <joe@fbstj.net>
1 parent 49cbae8 commit 5b94a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/raw_vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl<T> RawVec<T> {
113113
/// RawVec with capacity `usize::MAX`. Useful for implementing
114114
/// delayed allocation.
115115
pub const fn new() -> Self {
116-
Self::new_in(AbortAdapter(Global))
116+
Self::new_in(Default::default())
117117
}
118118

119119
/// Creates a RawVec (on the system heap) with exactly the

0 commit comments

Comments
 (0)