Skip to content

Commit

Permalink
Touch up Box<T> one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 21, 2022
1 parent f613bd6 commit 70cee5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! The pointer type for heap allocation for an owned value of type `T`.
//! The `Box<T>` type for heap allocation.
//!
//! [`Box<T>`], casually referred to as a 'box', provides the simplest form of
//! heap allocation in Rust. Boxes provide ownership for this allocation, and
Expand Down Expand Up @@ -187,7 +187,7 @@ pub use thin::ThinBox;

mod thin;

/// A pointer type for heap allocation for an owned value of type `T`.
/// 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 70cee5a

Please sign in to comment.