diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-01-26 14:43:33 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-26 14:43:33 +0100 |
| commit | d1c3ddee2e80a12a5effcff5e0df90d0554c680f (patch) | |
| tree | 8f0d59409e0f55bb44e30138f137f398e57efa6e | |
| parent | b4b483574f8597ab40d4e4be6adb10a3a91174ec (diff) | |
| parent | 1f994c7695e9abc5953ed107de4494f83cca33ae (diff) | |
| download | rust-d1c3ddee2e80a12a5effcff5e0df90d0554c680f.tar.gz rust-d1c3ddee2e80a12a5effcff5e0df90d0554c680f.zip | |
Rollup merge of #120372 - bjorn3:fix_outdated_comment, r=Nilstrieb
Fix outdated comment on Box Caught by `@vi` in https://github.com/rust-lang/rust/pull/113960#discussion_r1454278520
| -rw-r--r-- | library/alloc/src/boxed.rs | 3 |
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, |
