about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2021-09-11 23:24:55 +0100
committerGary Guo <gary@garyguo.net>2021-09-25 01:08:41 +0100
commit511333fcc41c2a70ece7fa8bd5e0a70adfcb84fd (patch)
tree68086121d0acbac0a45b66d1c53312ed24b2903c /library/alloc/src
parentc38da2e0a322908ba4b1d4b7e59c5da0531af4e1 (diff)
downloadrust-511333fcc41c2a70ece7fa8bd5e0a70adfcb84fd.tar.gz
rust-511333fcc41c2a70ece7fa8bd5e0a70adfcb84fd.zip
Use Rvalue::ShallowInitBox for box expression
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/alloc.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs
index 3ed3c2382ca..4a5b0fcf037 100644
--- a/library/alloc/src/alloc.rs
+++ b/library/alloc/src/alloc.rs
@@ -307,7 +307,6 @@ unsafe impl Allocator for Global {
 }
 
 /// The allocator for unique pointers.
-// This function must not unwind. If it does, MIR codegen will fail.
 #[cfg(all(not(no_global_oom_handling), not(test)))]
 #[lang = "exchange_malloc"]
 #[inline]