Skip to content

Commit 6bcd9c3

Browse files
committed
fixup no_global_oom_handling
1 parent 576e704 commit 6bcd9c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/alloc/src/boxed/iter.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ where
429429
const MAY_HAVE_SIDE_EFFECT: bool = false;
430430
}
431431

432+
#[cfg(not(no_global_oom_handling))]
432433
#[stable(feature = "boxed_array_value_iter", since = "CURRENT_RUSTC_VERSION")]
433434
impl<T: Clone, const N: usize, A: Clone + Allocator> Clone for BoxedArrayIntoIter<T, N, A> {
434435
fn clone(&self) -> Self {

0 commit comments

Comments
 (0)