diff options
| author | Stefan Schindler <dns2utf8@estada.ch> | 2022-09-10 16:24:05 +0200 |
|---|---|---|
| committer | Stefan Schindler <dns2utf8@estada.ch> | 2022-09-10 16:24:05 +0200 |
| commit | f613bd6d3af8a28f9ea8a499b4524decaf67f198 (patch) | |
| tree | df0a852f8fede7113be890c5ba6f4c4fd71b08ae /library/alloc/src | |
| parent | 5197c96c49fc3b7de3ce9a31f7cc62d2cbd1f70c (diff) | |
| download | rust-f613bd6d3af8a28f9ea8a499b4524decaf67f198.tar.gz rust-f613bd6d3af8a28f9ea8a499b4524decaf67f198.zip | |
Make the one-liner more descriptive
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/boxed.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index 65e323c9e00..00c922f3ae9 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -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"] |
