Skip to content

Commit

Permalink
Remove "generic type" in boxed.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed Jun 11, 2021
1 parent 68aa6b2 commit 8f78660
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 8f78660

Please sign in to comment.