]> git.lizzy.rs Git - rust.git/commitdiff
Fix description based on review
authorStephane Raux <stephaneyfx@gmail.com>
Wed, 11 Dec 2019 06:18:17 +0000 (22:18 -0800)
committerstephaneyfx <stephaneyfx@gmail.com>
Wed, 11 Dec 2019 06:29:25 +0000 (22:29 -0800)
src/liballoc/boxed.rs

index c3732b245f420fcb732825d1ace54db96a6030c4..d50b4b8dc4a7bc645b63535ee8c4611f7eac3ad9 100644 (file)
@@ -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