Skip to content

Commit 70cee5a

Browse files
committed
Touch up Box<T> one-liner
1 parent f613bd6 commit 70cee5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/alloc/src/boxed.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! The pointer type for heap allocation for an owned value of type `T`.
1+
//! The `Box<T>` type for heap allocation.
22
//!
33
//! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
44
//! heap allocation in Rust. Boxes provide ownership for this allocation, and
@@ -187,7 +187,7 @@ pub use thin::ThinBox;
187187

188188
mod thin;
189189

190-
/// A pointer type for heap allocation for an owned value of type `T`.
190+
/// A pointer type that uniquely owns a heap allocation of type `T`.
191191
///
192192
/// See the [module-level documentation](../../std/boxed/index.html) for more.
193193
#[lang = "owned_box"]

0 commit comments

Comments
 (0)