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
This commit is contained in:
Matthias Krüger 2024-01-26 14:43:33 +01:00 committed by GitHub
commit d1c3ddee2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,