Change the parameter name of From::from to value
This commit is contained in:
parent
33d351972a
commit
8dcecdb487
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user