about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2021-06-12 04:11:48 +0800
committerDeadbeef <ent3rm4n@gmail.com>2021-06-12 04:11:48 +0800
commit8f78660c82689364035b7aace8b3ef5ca27e0921 (patch)
tree2e79ab260869b7cd079b1a5fb1ba483a0c7e786d
parent68aa6b2d832579c156bda878a909f1bbb5261b36 (diff)
downloadrust-8f78660c82689364035b7aace8b3ef5ca27e0921.tar.gz
rust-8f78660c82689364035b7aace8b3ef5ca27e0921.zip
Remove "generic type" in boxed.rs
-rw-r--r--library/alloc/src/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index eb91af8c61c..13b42442dcf 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -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.