diff --git a/pyo3-build-config/src/errors.rs b/pyo3-build-config/src/errors.rs index 26108c29..8670b355 100644 --- a/pyo3-build-config/src/errors.rs +++ b/pyo3-build-config/src/errors.rs @@ -87,8 +87,8 @@ impl From<&'_ str> for Error { } impl From for Error { - fn from(x: std::convert::Infallible) -> Self { - match x {} + fn from(value: std::convert::Infallible) -> Self { + match value {} } }