Skip to content

Commit

Permalink
Unrolled build for rust-lang#120372
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#120372 - bjorn3:fix_outdated_comment, r=Nilstrieb

Fix outdated comment on Box

Caught by `@vi` in rust-lang#113960 (comment)
  • Loading branch information
rust-timer committed Jan 26, 2024
2 parents cdd4ff8 + 1f994c7 commit 8af1fa6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8af1fa6

Please sign in to comment.