Skip to content

Commit 5fb1362

Browse files
committed
fix no_global_oom_handling
1 parent 3f359d6 commit 5fb1362

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,6 @@ impl<T, A: Allocator, const N: usize> Vec<[T; N], A> {
25102510
}
25112511

25122512
impl<T: Clone, A: Allocator> Vec<T, A> {
2513-
#[cfg(not(no_global_oom_handling))]
25142513
/// Extend the vector by `n` clones of value.
25152514
fn extend_with(&mut self, n: usize, value: T) -> Result<(), TryReserveError> {
25162515
self.try_reserve(n)?;

0 commit comments

Comments
 (0)