Skip to content

Commit 1f994c7

Browse files
committed
Fix outdated comment on Box
1 parent 69db514 commit 1f994c7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/alloc/src/boxed.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,7 @@ mod thin;
191191
#[fundamental]
192192
#[stable(feature = "rust1", since = "1.0.0")]
193193
// The declaration of the `Box` struct must be kept in sync with the
194-
// `alloc::alloc::box_free` function or ICEs will happen. See the comment
195-
// on `box_free` for more details.
194+
// compiler or ICEs will happen.
196195
pub struct Box<
197196
T: ?Sized,
198197
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,

0 commit comments

Comments
 (0)