We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 318c5d6 commit aea9423Copy full SHA for aea9423
src/liballoc/boxed.rs
@@ -63,9 +63,8 @@
63
//! T` obtained from `Box::<T>::into_raw` may be deallocated using the
64
//! [`Global`] allocator with `Layout::for_value(&*value)`.
65
//!
66
-//! `Box<T>` has the same representation as `*mut T`. In particular, when
67
-//! `T: Sized`, this means that `Box<T>` has the same representation as
68
-//! a C pointer, making the following code valid in FFI:
+//! `Box<T>` has the same ABI as `&mut T`. In particular, when `T: Sized`,
+//! this allows using `Box<T>` in FFI:
69
70
//! ```c
71
//! /* C header */
0 commit comments