We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 214cd1f commit db4e60bCopy full SHA for db4e60b
library/alloc/src/boxed.rs
@@ -169,6 +169,9 @@ use crate::vec::Vec;
169
#[lang = "owned_box"]
170
#[fundamental]
171
#[stable(feature = "rust1", since = "1.0.0")]
172
+// The declaration of the `Box` struct must be kept in sync with the
173
+// `alloc::alloc::box_free` function or ICEs will happen. See the comment
174
+// on `box_free` for more details.
175
pub struct Box<
176
T: ?Sized,
177
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
0 commit comments