Skip to content

Commit f501456

Browse files
authored
Rollup merge of rust-lang#86217 - fee1-dead:adjust-box-doc, r=m-ou-se
Remove "generic type" in boxed.rs r? `@m-ou-se`
2 parents 783874c + 8f78660 commit f501456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ impl<T: ?Sized + Hasher, A: Allocator> Hasher for Box<T, A> {
12091209
#[cfg(not(no_global_oom_handling))]
12101210
#[stable(feature = "from_for_ptrs", since = "1.6.0")]
12111211
impl<T> From<T> for Box<T> {
1212-
/// Converts a generic type `T` into a `Box<T>`
1212+
/// Converts a `T` into a `Box<T>`
12131213
///
12141214
/// The conversion allocates on the heap and moves `t`
12151215
/// from the stack into it.

0 commit comments

Comments
 (0)