From 8f78660c82689364035b7aace8b3ef5ca27e0921 Mon Sep 17 00:00:00 2001 From: Deadbeef Date: Sat, 12 Jun 2021 04:11:48 +0800 Subject: [PATCH] Remove "generic type" in boxed.rs --- library/alloc/src/boxed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index eb91af8c61cbc..13b42442dcf09 100644 --- a/library/alloc/src/boxed.rs +++ b/library/alloc/src/boxed.rs @@ -1209,7 +1209,7 @@ impl Hasher for Box { #[cfg(not(no_global_oom_handling))] #[stable(feature = "from_for_ptrs", since = "1.6.0")] impl From for Box { - /// Converts a generic type `T` into a `Box` + /// Converts a `T` into a `Box` /// /// The conversion allocates on the heap and moves `t` /// from the stack into it.