mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
Rollup merge of #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`
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user