Use `value` as argument name
This commit is contained in:
parent
456efde245
commit
b939849094
|
@ -87,8 +87,8 @@ impl From<&'_ str> for Error {
|
|||
}
|
||||
|
||||
impl From<std::convert::Infallible> for Error {
|
||||
fn from(x: std::convert::Infallible) -> Self {
|
||||
match x {}
|
||||
fn from(value: std::convert::Infallible) -> Self {
|
||||
match value {}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue