diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-21 21:23:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-21 21:23:02 +0200 |
| commit | ddb59dc936b4039bde45c26713a13362ee826fa9 (patch) | |
| tree | 07827cad52792750e0e6652270f2ab11c8773e52 | |
| parent | 4ebc81a521ae12c4bf625b827b603cdae44dfe79 (diff) | |
| parent | 695beca219e795cae47dfeddb836c234ebadd551 (diff) | |
| download | rust-ddb59dc936b4039bde45c26713a13362ee826fa9.tar.gz rust-ddb59dc936b4039bde45c26713a13362ee826fa9.zip | |
Rollup merge of #117028 - gimbles:patch-1, r=Dylan-DPC
Remove unnecessary `all` in Box
| -rw-r--r-- | library/alloc/src/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index 8ab851a0ea6..4a62013c685 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -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] |
