diff options
| author | Stephane Raux <stephaneyfx@gmail.com> | 2019-12-10 22:18:17 -0800 |
|---|---|---|
| committer | stephaneyfx <stephaneyfx@gmail.com> | 2019-12-10 22:29:25 -0800 |
| commit | cb1cc1181e884d0f53c444af0b6a21189af83bea (patch) | |
| tree | cc1ddd5f8f4d00569b86faaf9524ea0be3513dd8 /src/liballoc | |
| parent | 1a26df77272d3bafc9e9e689a5a4a314896050f5 (diff) | |
| download | rust-cb1cc1181e884d0f53c444af0b6a21189af83bea.tar.gz rust-cb1cc1181e884d0f53c444af0b6a21189af83bea.zip | |
Fix description based on review
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index c3732b245f4..d50b4b8dc4a 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -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 |
