From b9398490940716cd29b911eac056a19603efc0c8 Mon Sep 17 00:00:00 2001 From: mejrs <59372212+mejrs@users.noreply.github.com> Date: Mon, 19 Jun 2023 20:17:50 +0200 Subject: [PATCH] Use `value` as argument name --- pyo3-build-config/src/errors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {} } }