about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH4x5 <sky@h4x5.dev>2022-10-03 13:36:57 -0400
committerGitHub <noreply@github.com>2022-10-03 13:36:57 -0400
commit8dcecdb4876e6f4ddc9ea392c0191874676f80de (patch)
tree9fa2560b5aa3f9ece07fe1a3c6fec468bd22d284
parent33d351972ad9c43bc30e87edd2765de9a4898629 (diff)
downloadrust-8dcecdb4876e6f4ddc9ea392c0191874676f80de.tar.gz
rust-8dcecdb4876e6f4ddc9ea392c0191874676f80de.zip
Change the parameter name of From::from to `value`
-rw-r--r--library/core/src/convert/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs
index 6f23b9d908d..3253e0f4cad 100644
--- a/library/core/src/convert/mod.rs
+++ b/library/core/src/convert/mod.rs
@@ -376,7 +376,7 @@ pub trait From<T>: 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