From 603955f542fda7250dc63c35c93dd607fdb2291e Mon Sep 17 00:00:00 2001 From: Shun Sakai Date: Wed, 21 Jan 2026 00:51:19 +0900 Subject: [PATCH] chore: Remove redundant conversion --- library/std/src/sys/process/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/process/windows.rs b/library/std/src/sys/process/windows.rs index dba647c502d1..b40833ad212c 100644 --- a/library/std/src/sys/process/windows.rs +++ b/library/std/src/sys/process/windows.rs @@ -818,7 +818,7 @@ impl From for ExitCode { impl From for ExitCode { fn from(code: u32) -> Self { - ExitCode(u32::from(code)) + ExitCode(code) } }