Skip to content

Commit 2f8dbe3

Browse files
authored
Rollup merge of rust-lang#101655 - dns2utf8:box_docs, r=dtolnay
Make the Box one-liner more descriptive I would like to avoid a definition that relies on itself. r? `@GuillaumeGomez`
2 parents 81ea610 + 70cee5a commit 2f8dbe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ pub use thin::ThinBox;
187187

188188
mod thin;
189189

190-
/// A pointer type for heap allocation.
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)