Fix description based on review
This commit is contained in:
parent
1a26df7727
commit
cb1cc1181e
|
@ -65,7 +65,7 @@
|
|||
//!
|
||||
//! So long as `T: Sized`, a `Box<T>` is guaranteed to be represented as a
|
||||
//! single pointer and is also ABI-compatible with C pointers (i.e. the C type
|
||||
//! `T*`). This means that you have Rust code which passes ownership of a
|
||||
//! `T*`). This means that you can have Rust code which passes ownership of a
|
||||
//! `Box<T>` to C code by using `Box<T>` as the type on the Rust side, and
|
||||
//! `T*` as the corresponding type on the C side. As an example, consider this
|
||||
//! C header which declares functions that create and destroy some kind of
|
||||
|
|
Loading…
Reference in New Issue