We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f613bd6 commit 70cee5aCopy full SHA for 70cee5a
library/alloc/src/boxed.rs
@@ -1,4 +1,4 @@
1
-//! The pointer type for heap allocation for an owned value of type `T`.
+//! The `Box<T>` type for heap allocation.
2
//!
3
//! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
4
//! heap allocation in Rust. Boxes provide ownership for this allocation, and
@@ -187,7 +187,7 @@ pub use thin::ThinBox;
187
188
mod thin;
189
190
-/// A pointer type for heap allocation for an owned value of type `T`.
+/// A pointer type that uniquely owns a heap allocation of type `T`.
191
///
192
/// See the [module-level documentation](../../std/boxed/index.html) for more.
193
#[lang = "owned_box"]
0 commit comments