summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorGimbles <yusharora@proton.me>2023-10-21 23:41:32 +0530
committerGitHub <noreply@github.com>2023-10-21 23:41:32 +0530
commit695beca219e795cae47dfeddb836c234ebadd551 (patch)
tree02399b01ec320f2a8e85a3be4ee018188996eb56 /library/alloc/src
parentad7b8a0820daad0700b6bb1c428503dc4484592e (diff)
downloadrust-695beca219e795cae47dfeddb836c234ebadd551.tar.gz
rust-695beca219e795cae47dfeddb836c234ebadd551.zip
Update boxed.rs
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/boxed.rs2
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]