about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorStephane Raux <stephaneyfx@gmail.com>2019-12-10 22:18:17 -0800
committerstephaneyfx <stephaneyfx@gmail.com>2019-12-10 22:29:25 -0800
commitcb1cc1181e884d0f53c444af0b6a21189af83bea (patch)
treecc1ddd5f8f4d00569b86faaf9524ea0be3513dd8 /src/liballoc
parent1a26df77272d3bafc9e9e689a5a4a314896050f5 (diff)
downloadrust-cb1cc1181e884d0f53c444af0b6a21189af83bea.tar.gz
rust-cb1cc1181e884d0f53c444af0b6a21189af83bea.zip
Fix description based on review
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs2
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