From 8dcecdb4876e6f4ddc9ea392c0191874676f80de Mon Sep 17 00:00:00 2001 From: H4x5 Date: Mon, 3 Oct 2022 13:36:57 -0400 Subject: [PATCH] Change the parameter name of From::from to `value` --- library/core/src/convert/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index 6f23b9d908dba..3253e0f4cad73 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -376,7 +376,7 @@ pub trait From: Sized { #[lang = "from"] #[must_use] #[stable(feature = "rust1", since = "1.0.0")] - fn from(_: T) -> Self; + fn from(value: T) -> Self; } /// An attempted conversion that consumes `self`, which may or may not be