Skip to content

Commit ddb59dc

Browse files
authoredOct 21, 2023
Rollup merge of #117028 - gimbles:patch-1, r=Dylan-DPC
Remove unnecessary `all` in Box
2 parents 4ebc81a + 695beca commit ddb59dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎library/alloc/src/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ impl<T> Box<T> {
207207
/// ```
208208
/// let five = Box::new(5);
209209
/// ```
210-
#[cfg(all(not(no_global_oom_handling)))]
210+
#[cfg(not(no_global_oom_handling))]
211211
#[inline(always)]
212212
#[stable(feature = "rust1", since = "1.0.0")]
213213
#[must_use]

0 commit comments

Comments
 (0)
Please sign in to comment.