about summary refs log tree commit diff
path: root/library/alloc/src/alloc.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-01-02 21:22:42 +0100
committerRalf Jung <post@ralfj.de>2025-01-03 12:01:31 +0100
commitac9cb908ac4301dfc25e7a2edee574320022ae2c (patch)
tree5b56b884318fc58bf28c82a38d0a2e7efd9d9207 /library/alloc/src/alloc.rs
parentbf6f8a4d328f7f3b0f6ea8205ad28591cc11aafd (diff)
downloadrust-ac9cb908ac4301dfc25e7a2edee574320022ae2c.tar.gz
rust-ac9cb908ac4301dfc25e7a2edee574320022ae2c.zip
turn rustc_box into an intrinsic
Diffstat (limited to 'library/alloc/src/alloc.rs')
-rw-r--r--library/alloc/src/alloc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/alloc.rs b/library/alloc/src/alloc.rs
index ae34fc65326..e9b7f985667 100644
--- a/library/alloc/src/alloc.rs
+++ b/library/alloc/src/alloc.rs
@@ -339,7 +339,7 @@ unsafe impl Allocator for Global {
     }
 }
 
-/// The allocator for unique pointers.
+/// The allocator for `Box`.
 #[cfg(all(not(no_global_oom_handling), not(test)))]
 #[lang = "exchange_malloc"]
 #[inline]