Skip to content

Commit

Permalink
Rollup merge of rust-lang#101655 - dns2utf8:box_docs, r=dtolnay
Browse files Browse the repository at this point in the history
Make the Box one-liner more descriptive

I would like to avoid a definition that relies on itself.

r? `@GuillaumeGomez`
  • Loading branch information
Manishearth authored Nov 22, 2022
2 parents 81ea610 + 70cee5a commit 2f8dbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ pub use thin::ThinBox;

mod thin;

/// A pointer type for heap allocation.
/// A pointer type that uniquely owns a heap allocation of type `T`.
///
/// See the [module-level documentation](../../std/boxed/index.html) for more.
#[lang = "owned_box"]
Expand Down

0 comments on commit 2f8dbe3

Please sign in to comment.