diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-12 01:16:04 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-12 01:16:04 +0900 |
| commit | e13b53ea97223551c7e4e7d3f8d547a955d2dc0b (patch) | |
| tree | 7291c63b85cbe7946d1aa828566da7ca561926ae | |
| parent | 2b3884f6e689cfb7d3875e2f6fd8acd54758e9e0 (diff) | |
| parent | 8f78660c82689364035b7aace8b3ef5ca27e0921 (diff) | |
| download | rust-e13b53ea97223551c7e4e7d3f8d547a955d2dc0b.tar.gz rust-e13b53ea97223551c7e4e7d3f8d547a955d2dc0b.zip | |
Rollup merge of #86217 - fee1-dead:adjust-box-doc, r=m-ou-se
Remove "generic type" in boxed.rs r? ``@m-ou-se``
| -rw-r--r-- | library/alloc/src/boxed.rs | 2 |
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. |
