Rollup merge of #117028 - gimbles:patch-1, r=Dylan-DPC

Remove unnecessary `all` in Box
This commit is contained in:
Matthias Krüger 2023-10-21 21:23:02 +02:00 committed by GitHub
commit ddb59dc936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]