diff options
| author | bors <bors@rust-lang.org> | 2023-10-21 20:35:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-21 20:35:02 +0000 |
| commit | 1c05d50c8403c56d9a8b6fb871f15aaa26fb5d07 (patch) | |
| tree | a134df807da6b2fcd7f284074bd745d5206de7c4 /library | |
| parent | 85812004e2211ffc12d36bb3805d203020eef616 (diff) | |
| parent | ddb59dc936b4039bde45c26713a13362ee826fa9 (diff) | |
| download | rust-1c05d50c8403c56d9a8b6fb871f15aaa26fb5d07.tar.gz rust-1c05d50c8403c56d9a8b6fb871f15aaa26fb5d07.zip | |
Auto merge of #117030 - matthiaskrgr:rollup-vdjfx4q, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #116312 (Initiate the inner usage of `cfg_match` (Compiler)) - #116928 (fix bootstrap paths in triagebot.toml) - #116955 (Updated README with expandable table of content.) - #116981 (update the registers of csky target) - #116992 (Mention the syntax for `use` on `mod foo;` if `foo` doesn't exist) - #117026 (Fix broken link to Ayu theme in the rustdoc book) - #117028 (Remove unnecessary `all` in Box) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library')
| -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] |
