mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Make the one-liner more descriptive
This commit is contained in:
parent
5197c96c49
commit
f613bd6d3a
@ -1,4 +1,4 @@
|
||||
//! The `Box<T>` type for heap allocation.
|
||||
//! The pointer type for heap allocation for an owned value of type `T`.
|
||||
//!
|
||||
//! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
|
||||
//! heap allocation in Rust. Boxes provide ownership for this allocation, and
|
||||
@ -187,7 +187,7 @@ pub use thin::ThinBox;
|
||||
|
||||
mod thin;
|
||||
|
||||
/// A pointer type for heap allocation.
|
||||
/// A pointer type for heap allocation for an owned value of type `T`.
|
||||
///
|
||||
/// See the [module-level documentation](../../std/boxed/index.html) for more.
|
||||
#[lang = "owned_box"]
|
||||
|
Loading…
Reference in New Issue
Block a user