Skip to content

Commit

Permalink
Rollup merge of rust-lang#86217 - fee1-dead:adjust-box-doc, r=m-ou-se
Browse files Browse the repository at this point in the history
Remove "generic type" in boxed.rs

r? ``@m-ou-se``
  • Loading branch information
JohnTitor authored Jun 11, 2021
2 parents 2b3884f + 8f78660 commit e13b53e
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 @@ -1209,7 +1209,7 @@ impl<T: ?Sized + Hasher, A: Allocator> Hasher for Box<T, A> {
#[cfg(not(no_global_oom_handling))]
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
impl<T> From<T> for Box<T> {
/// Converts a generic type `T` into a `Box<T>`
/// Converts a `T` into a `Box<T>`
///
/// The conversion allocates on the heap and moves `t`
/// from the stack into it.
Expand Down

0 comments on commit e13b53e

Please sign in to comment.