We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99f123c commit 73eda87Copy full SHA for 73eda87
core/src/convert/mod.rs
@@ -443,6 +443,7 @@ pub trait AsMut<T: ?Sized> {
443
/// [`Vec`]: ../../std/vec/struct.Vec.html
444
#[rustc_diagnostic_item = "Into"]
445
#[stable(feature = "rust1", since = "1.0.0")]
446
+#[doc(search_unbox)]
447
pub trait Into<T>: Sized {
448
/// Converts this type into the (usually inferred) input type.
449
#[must_use]
@@ -577,6 +578,7 @@ pub trait Into<T>: Sized {
577
578
all(_Self = "&str", T = "alloc::string::String"),
579
note = "to coerce a `{T}` into a `{Self}`, use `&*` as a prefix",
580
))]
581
582
pub trait From<T>: Sized {
583
/// Converts to this type from the input type.
584
#[rustc_diagnostic_item = "from_fn"]
0 commit comments