about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-01-26 12:15:46 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-01-26 12:15:46 +0000
commit1f994c7695e9abc5953ed107de4494f83cca33ae (patch)
tree85a0c54a38c872256a86be408fc3d25308eb30a8 /library/alloc
parent69db514ed9238bb11f5d2c576fe26020e3b99a52 (diff)
Fix outdated comment on Box
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/boxed.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index 6977681e5a3..2e321018407 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -191,8 +191,7 @@ mod thin;
 #[fundamental]
 #[stable(feature = "rust1", since = "1.0.0")]
 // The declaration of the `Box` struct must be kept in sync with the
-// `alloc::alloc::box_free` function or ICEs will happen. See the comment
-// on `box_free` for more details.
+// compiler or ICEs will happen.
 pub struct Box<
     T: ?Sized,
     #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,