Skip to content

Commit

Permalink
Rollup merge of rust-lang#117028 - gimbles:patch-1, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Remove unnecessary `all` in Box
  • Loading branch information
matthiaskrgr committed Oct 21, 2023
2 parents 4ebc81a + 695beca commit ddb59dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl<T> Box<T> {
/// ```
/// let five = Box::new(5);
/// ```
#[cfg(all(not(no_global_oom_handling)))]
#[cfg(not(no_global_oom_handling))]
#[inline(always)]
#[stable(feature = "rust1", since = "1.0.0")]
#[must_use]
Expand Down

0 comments on commit ddb59dc

Please sign in to comment.